dom0-updates: display GUI notification about no updates

If no updates are available, display some notification about that (when
GUI mode requested). Otherwise user has no idea what happened (update
failed? still doing something?).

Fixes QubesOS/qubes-issues#3751
pull/42/head
Marek Marczykowski-Górecki 6 years ago
parent ee878fa40a
commit 03959b670c
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

@ -229,4 +229,7 @@ elif [ -f /var/lib/qubes/updates/repodata/repomd.xml ]; then
else
rm -f $UPDATES_STAT_FILE
echo "No updates available" >&2
if [ "$GUI" == "1" ]; then
zenity --title='Dom0 updates' --text='No updates available'
fi
fi

Loading…
Cancel
Save