diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2022-04-22 23:27:55 -0400 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2022-04-22 23:28:26 -0400 |
commit | a59a0ef1896c8504026b0de6f614b893fa4211e9 (patch) | |
tree | 5578fdbbc190fd831660a8b46db09f96076e25ed /libre | |
parent | aa6da95c797fc1e208b5d6e79f7c7645132a3989 (diff) | |
download | abslibre-a59a0ef1896c8504026b0de6f614b893fa4211e9.tar.gz abslibre-a59a0ef1896c8504026b0de6f614b893fa4211e9.tar.bz2 abslibre-a59a0ef1896c8504026b0de6f614b893fa4211e9.zip |
[pacman]: bugfix previous change
Diffstat (limited to 'libre')
-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 |