From 03959b670c9242fdafbf48fb4ee6c24ff99cb0bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sat, 21 Apr 2018 02:58:30 +0200 Subject: [PATCH] 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 --- dom0-updates/qubes-dom0-update | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dom0-updates/qubes-dom0-update b/dom0-updates/qubes-dom0-update index 4f5aafa..3babf7b 100755 --- a/dom0-updates/qubes-dom0-update +++ b/dom0-updates/qubes-dom0-update @@ -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