diff options
| -rwxr-xr-x | archsetup | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -965,6 +965,13 @@ prerequisites() { # enable multilib repository (required for 32-bit libraries, Steam, etc.) action="enabling multilib repository" && display "task" "$action" sed -i '/^#\[multilib\]/{s/^#//;n;s/^#//}' /etc/pacman.conf + + # Keep pacman.conf world-readable. User-level makepkg/yay reads it to + # resolve dependencies, so a root-only file makes every AUR build fail with + # "/etc/pacman.conf could not be read: Permission denied". Some base images + # (a current archangel ISO) ship it 0600; 0644 is the Arch default. + chmod 644 /etc/pacman.conf + pacman -Sy >> "$logfile" 2>&1 action="Package Mirrors" && display "subtitle" "$action" |
