Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/update-pacman-dbs7
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/update-pacman-dbs b/bin/update-pacman-dbs
index 8c89bf9..1ba0759 100755
--- a/bin/update-pacman-dbs
+++ b/bin/update-pacman-dbs
@@ -1,7 +1,8 @@
-#!/bin/bash
+#!/bin/sh
-# shellcheck source=../lib/load-configuration
-. "${0%/*}/../lib/load-configuration"
+base_dir=$(
+ readlink -f "${0%/*}/.."
+)
pacman --config "${base_dir}/misc/pacman-i486.conf" -Syy
pacman --config "${base_dir}/misc/pacman-i686.conf" -Syy