rpm: fix notification-daemon setup

This commit is contained in:
Marek Marczykowski-Górecki 2014-04-23 01:54:12 +02:00
parent f1a997c1c4
commit 5912ea4330

View File

@ -54,6 +54,7 @@ Requires: gnome-packagekit-updater
%endif %endif
Requires: ImageMagick Requires: ImageMagick
Requires: fakeroot Requires: fakeroot
Requires: notification-daemon
Provides: qubes-core-vm Provides: qubes-core-vm
Obsoletes: qubes-core-commonvm Obsoletes: qubes-core-commonvm
Obsoletes: qubes-core-appvm Obsoletes: qubes-core-appvm
@ -173,7 +174,9 @@ echo 'OnlyShowIn=GNOME;NetVM;' >> /etc/xdg/autostart/nm-applet.desktop || :
%endif %endif
# Enable autostart of notification-daemon when installed # 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 -p '' root
usermod -L user usermod -L user