dom0-updates: move GUI notification to qubes-manager (#824)

It is hard to get user session D-Bus address from outside of session. In
some cases there are even multiple dbus-daemon instances of the same
user...
This commit is contained in:
Marek Marczykowski-Górecki 2014-06-10 01:13:54 +02:00
parent b8bd6e2d49
commit c443264fae

View File

@ -26,6 +26,3 @@ fi
# Touch stat file for qubes-manager # Touch stat file for qubes-manager
touch $UPDATES_STAT_FILE touch $UPDATES_STAT_FILE
# Notify about updates using system tray
su -c 'DISPLAY=:0 notify-send -t 0 "Qubes dom0 updates available."' $LOCAL_USER