also inform in cli if no new updates are available

(cherry picked from commit e1e5162720)
This commit is contained in:
Patrick Schleizer 2015-07-19 01:59:07 +02:00 committed by Marek Marczykowski-Górecki
parent 9a142fb654
commit 191076ba74
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -68,7 +68,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