summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-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