Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/update-pacman-dbs
diff options
context:
space:
mode:
Diffstat (limited to 'bin/update-pacman-dbs')
-rwxr-xr-xbin/update-pacman-dbs9
1 files changed, 5 insertions, 4 deletions
diff --git a/bin/update-pacman-dbs b/bin/update-pacman-dbs
index cd61e66..268b9da 100755
--- a/bin/update-pacman-dbs
+++ b/bin/update-pacman-dbs
@@ -4,8 +4,9 @@ base_dir=$(
readlink -f "${0%/*}/.."
)
-# TODO: reactivate, when FS#60893 solved and i486 implemented
-# pacman --config "${base_dir}/misc/pacman-i486.conf" -Syy
+for arch in i486 i686; do
-pacman --config "${base_dir}/misc/pacman-i686.conf" -Syy
-su master -c 'pkgfile -C '"${base_dir}"'/misc/pacman-i686.conf -u'
+ pacman --config "${base_dir}/misc/pacman-${arch}.conf" -Syy
+ su master -c 'pkgfile -C '"${base_dir}"'/misc/pacman-'"${arch}"'.conf -D '"${base_dir}"'/work/pkgfile-'"${arch}"'.cache -u'
+
+done