From 5912ea43302ee7bbfd9d4629af1fcc652eac96f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Wed, 23 Apr 2014 01:54:12 +0200 Subject: [PATCH] rpm: fix notification-daemon setup --- rpm_spec/core-vm.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rpm_spec/core-vm.spec b/rpm_spec/core-vm.spec index b06452c..b1b4d28 100644 --- a/rpm_spec/core-vm.spec +++ b/rpm_spec/core-vm.spec @@ -54,6 +54,7 @@ Requires: gnome-packagekit-updater %endif Requires: ImageMagick Requires: fakeroot +Requires: notification-daemon Provides: qubes-core-vm Obsoletes: qubes-core-commonvm Obsoletes: qubes-core-appvm @@ -173,7 +174,9 @@ echo 'OnlyShowIn=GNOME;NetVM;' >> /etc/xdg/autostart/nm-applet.desktop || : %endif # Enable autostart of notification-daemon when installed -ln -s /usr/share/applications/notification-daemon.desktop /etc/xdg/autostart/ +if [ ! -e /etc/xdg/autostart/notification-daemon.desktop ]; then + ln -s /usr/share/applications/notification-daemon.desktop /etc/xdg/autostart/ +fi usermod -p '' root usermod -L user