1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-11-11 20:05:07 -05:00

contrib/checkupdates: do not log

Avoid the log file filling up with "[PACMAN] synchronizing package lists".

Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
Allan McRae 2013-04-08 22:00:04 +10:00
parent 95c68d26ef
commit 32c91e2895

View File

@ -36,7 +36,7 @@ eval $(awk -F' *= *' '$1 ~ /DBPath/ { print $1 "=" $2 }' /etc/pacman.conf)
mkdir -p "$CHECKUPDATE_DB" mkdir -p "$CHECKUPDATE_DB"
ln -s "${DBPath}/local" "$CHECKUPDATE_DB" &> /dev/null 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 pacman -Qqu --dbpath "$CHECKUPDATE_DB" 2> /dev/null
exit 0 exit 0