index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2015-10-18 11:27:56 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2015-10-18 11:27:56 +1000 |
commit | 0ee1beca12f6070d406bbf09c3036124018e57bf (patch) | |
tree | 6c79335b9379f7f2bb99d16f703e1aff79267f53 /contrib | |
parent | c99ebca83e5c7ac59d9489ea98d310ee41c91de5 (diff) |
-rw-r--r-- | contrib/checkupdates.sh.in | 2 |
diff --git a/contrib/checkupdates.sh.in b/contrib/checkupdates.sh.in index e8a81986..ff62891b 100644 --- a/contrib/checkupdates.sh.in +++ b/contrib/checkupdates.sh.in @@ -51,7 +51,7 @@ eval $(awk -F' *= *' '$1 ~ /DBPath/ { print $1 "=" $2 }' @sysconfdir@/pacman.con mkdir -p "$CHECKUPDATES_DB" ln -s "${DBPath}/local" "$CHECKUPDATES_DB" &> /dev/null -fakeroot pacman -Sy --dbpath "$CHECKUPDATES_DB" --logfile /dev/null &> /dev/null +fakeroot -- pacman -Sy --dbpath "$CHECKUPDATES_DB" --logfile /dev/null &> /dev/null pacman -Qu --dbpath "$CHECKUPDATES_DB" 2> /dev/null | grep -v '\[.*\]' exit 0 |