From 59ab2a0e91fff073a5144995430e81ed41cc69ae Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Thu, 15 Sep 2011 01:09:11 +0200 Subject: [PATCH] dom0/watch-updates: get rid for pkgcount from dom0 update notify This is useless information... --- dom0/aux-tools/qubes-watch-updates.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dom0/aux-tools/qubes-watch-updates.sh b/dom0/aux-tools/qubes-watch-updates.sh index 06128338..ebe0e747 100755 --- a/dom0/aux-tools/qubes-watch-updates.sh +++ b/dom0/aux-tools/qubes-watch-updates.sh @@ -43,9 +43,8 @@ while true; do fi fi elif [ "x$domain" = "xdom0" -a -n "$packages" ]; then - PKGCOUNT=`echo -- "$packages" | wc -w` if zenity --question --title="Qubes Dom0 updates" \ - --text="$PKGCOUNT updates for dom0 available. Do you want to download its now?"; then + --text="Updates for dom0 available. Do you want to download them now?"; then $QREXEC_CLIENT -d $UPDATES_VM "user:/usr/lib/qubes/qubes_download_dom0_updates.sh --doit" # Wait for download completed while pidof -x qubes-receive-updates >/dev/null; do sleep 0.5; done