Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/contrib/checkupdates.sh.in
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2013-05-29 14:02:56 +1000
committerAllan McRae <allan@archlinux.org>2013-05-29 14:02:56 +1000
commit84ac55b0529b6489da38ebfc56a988228aa4859a (patch)
tree66667e127a6509af1b701bf2077d023e55b04f44 /contrib/checkupdates.sh.in
parent0f988beff8794338485352dc1beafbfcdbb20db1 (diff)
parent7d2c7fb347e8b5ea89127f3f8b4a545772394600 (diff)
Merge branch 'maint'
Diffstat (limited to 'contrib/checkupdates.sh.in')
-rw-r--r--contrib/checkupdates.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/checkupdates.sh.in b/contrib/checkupdates.sh.in
index 9244d85a..b41dfa03 100644
--- a/contrib/checkupdates.sh.in
+++ b/contrib/checkupdates.sh.in
@@ -32,7 +32,7 @@ fi
trap 'rm -f $CHECKUPDATE_DB/db.lck' INT TERM EXIT
DBPath="${DBPath:-@localstatedir@/lib/pacman/}"
-eval $(awk -F' *= *' '$1 ~ /DBPath/ { print $1 "=" $2 }' /etc/pacman.conf)
+eval $(awk -F' *= *' '$1 ~ /DBPath/ { print $1 "=" $2 }' @sysconfdir@/pacman.conf)
mkdir -p "$CHECKUPDATE_DB"
ln -s "${DBPath}/local" "$CHECKUPDATE_DB" &> /dev/null