summaryrefslogtreecommitdiff
path: root/contrib/checkupdates.sh.in
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2013-04-08 22:00:04 +1000
committerAllan McRae <allan@archlinux.org>2013-04-09 11:52:32 +1000
commit32c91e28952f3b746da7513849a8f3c996aab807 (patch)
treed9e09d0a0eda0e1bfca91e8fb632a2baf9611d7a /contrib/checkupdates.sh.in
parent95c68d26ef1fe9ccf7eafc1be4205964255c7f3f (diff)
downloadpacman-32c91e28952f3b746da7513849a8f3c996aab807.tar.xz
contrib/checkupdates: do not log
Avoid the log file filling up with "[PACMAN] synchronizing package lists". Signed-off-by: Allan McRae <allan@archlinux.org>
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 15950e13..9244d85a 100644
--- a/contrib/checkupdates.sh.in
+++ b/contrib/checkupdates.sh.in
@@ -36,7 +36,7 @@ eval $(awk -F' *= *' '$1 ~ /DBPath/ { print $1 "=" $2 }' /etc/pacman.conf)
mkdir -p "$CHECKUPDATE_DB"
ln -s "${DBPath}/local" "$CHECKUPDATE_DB" &> /dev/null
-fakeroot pacman -Sy --dbpath "$CHECKUPDATE_DB" &> /dev/null
+fakeroot pacman -Sy --dbpath "$CHECKUPDATE_DB" --logfile /dev/null &> /dev/null
pacman -Qqu --dbpath "$CHECKUPDATE_DB" 2> /dev/null
exit 0