diff options
Diffstat (limited to 'libre/pacman')
-rw-r--r-- | libre/pacman/PKGBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libre/pacman/PKGBUILD b/libre/pacman/PKGBUILD index e14770572..e0d1db896 100644 --- a/libre/pacman/PKGBUILD +++ b/libre/pacman/PKGBUILD @@ -150,8 +150,8 @@ package() { # fix defaults 'Architecture' to one arch (allows pacstrap to create cross-arch chroots) local pacman_conf="$pkgdir/usr/share/pacman/defaults/pacman.conf.$carch" local err_msg="could not apply 'Architecture' patch to ${pacman_conf}" - sed -i 's|^Architecture = .*|Architecture = auto|' "${pacman_conf}" - grep -E '^Architecture = auto$' "${pacman_conf}" || ! echo "${err_msg}" + sed -i "s|^Architecture = .*|Architecture = ${carch}|" "${pacman_conf}" + grep -E "^Architecture = ${carch}$" "${pacman_conf}" || ! echo "${err_msg}" done # Parabola's pacman began shipping a weekly job for this back in |