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:
parent
95c68d26ef
commit
32c91e2895
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user