also inform in cli if no new updates are available

This commit is contained in:
Patrick Schleizer 2015-07-19 01:59:07 +02:00
parent 51d55c03dc
commit e1e5162720

View File

@ -80,7 +80,7 @@ else
fi
if [ -z "$PKGLIST" -a -z "$UPDATES" ]; then
# No new updates
echo "No new updates available"
if [ "$GUI" = 1 ]; then
zenity --info --text="No new updates available"
fi