dom0/watch-updates: get rid for pkgcount from dom0 update notify

This is useless information...
This commit is contained in:
Marek Marczykowski 2011-09-15 01:09:11 +02:00
parent c6b3a13b49
commit 59ab2a0e91

View File

@ -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