diff options
author | William Giokas <1007380@gmail.com> | 2013-05-15 11:25:58 -0500 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-05-18 10:43:42 +1000 |
commit | 090c4006d748e0ec50b74e974b4f1fa6f3d6c1ec (patch) | |
tree | bb5032bf1a7e68566bc0751d29dc47940516e471 /contrib/checkupdates.sh.in | |
parent | 8be08f7cae8257af6866febc9d2a57d8d8601a51 (diff) | |
download | pacman-090c4006d748e0ec50b74e974b4f1fa6f3d6c1ec.tar.xz |
contrib: Remove harcoded /etc/pacman.conf
Signed-off-by: William Giokas <1007380@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'contrib/checkupdates.sh.in')
-rw-r--r-- | contrib/checkupdates.sh.in | 2 |
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 |