diff options
author | Evangelos Foutras <evangelos@foutrelis.com> | 2014-12-19 20:03:23 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-12-24 11:19:28 +1000 |
commit | eb7cc246c628acbd20e4f8a739682212c41ccf1a (patch) | |
tree | 436bffe5a9075893df3a9c31fe3fd41cdb8d6187 | |
parent | c9ca3634317d11623ed017c214dc1000dc846a23 (diff) |
checkupdates: include package versions in output
Especially useful now that pacman -Qu will also show the new version.
Signed-off-by: Allan McRae <allan@archlinux.org>
-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 a3a308b0..e8a81986 100644 --- a/contrib/checkupdates.sh.in +++ b/contrib/checkupdates.sh.in @@ -52,7 +52,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 -pacman -Qqu --dbpath "$CHECKUPDATES_DB" 2> /dev/null | grep -v '\[.*\]' +pacman -Qu --dbpath "$CHECKUPDATES_DB" 2> /dev/null | grep -v '\[.*\]' exit 0 |