summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2014-11-19 08:09:55 +0100
committerAllan McRae <allan@archlinux.org>2014-11-19 08:09:55 +0100
commitc23ff87893de4f27c898b164c8586ce691fc370f (patch)
tree6d5db39b5e4159b504bd06a1499ccf18cae388f4
parentef0577e3d5560c2d7f2869586219040beffdbb6b (diff)
downloadpacman-c23ff87893de4f27c898b164c8586ce691fc370f.tar.gz
pacman-c23ff87893de4f27c898b164c8586ce691fc370f.tar.xz
checkupdates: do not print ignored packages
FS#41223 Signed-off-by: Allan McRae <allan@archlinux.org>
-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 06e1b125..f4f36c09 100644
--- a/contrib/checkupdates.sh.in
+++ b/contrib/checkupdates.sh.in
@@ -44,7 +44,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
+pacman -Qqu --dbpath "$CHECKUPDATES_DB" 2> /dev/null | grep -v '\[.*\]'
exit 0