Instead of just outputting a package name, print out the new pkgver (this is sometimes useful). Also, `pacman -Qu` does not check for new dependencies, whereas `pacman -Syup` will, and will print them with the other packages. It will also show the download progress for the databases instead of just seeming to hang there. Signed-off-by: William Giokas <1007380@gmail.com> --- contrib/checkupdates.sh.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/contrib/checkupdates.sh.in b/contrib/checkupdates.sh.in index 15950e1..61f6093 100644 --- a/contrib/checkupdates.sh.in +++ b/contrib/checkupdates.sh.in @@ -36,8 +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 -pacman -Qqu --dbpath "$CHECKUPDATE_DB" 2> /dev/null +fakeroot pacman -Syup --print-format "%n-%v" --dbpath "$CHECKUPDATE_DB" 2> /dev/null exit 0 -- 1.8.2.230.g2bba2f0