summaryrefslogtreecommitdiff
path: root/bin/update-pacman-dbs
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-11-23 09:04:37 +0100
committerErich Eckner <git@eckner.net>2018-11-23 09:04:37 +0100
commit0334be75679f08d5e55fad8ba6aee611c6fbc32e (patch)
tree0c03d771dcda8e21db8715f96103575d68f0669e /bin/update-pacman-dbs
parent5d17a36b6d5fd04d4b9ed555fdb39c0d1c8f3609 (diff)
downloadbuilder-0334be75679f08d5e55fad8ba6aee611c6fbc32e.tar.xz
pacman configs new to copy over the package databases (in files) for i486 and i686
Diffstat (limited to 'bin/update-pacman-dbs')
-rwxr-xr-xbin/update-pacman-dbs7
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/update-pacman-dbs b/bin/update-pacman-dbs
new file mode 100755
index 0000000..8c89bf9
--- /dev/null
+++ b/bin/update-pacman-dbs
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+# shellcheck source=../lib/load-configuration
+. "${0%/*}/../lib/load-configuration"
+
+pacman --config "${base_dir}/misc/pacman-i486.conf" -Syy
+pacman --config "${base_dir}/misc/pacman-i686.conf" -Syy