rpm: disable (standard) pulseaudio autostart on its upgrade

Not only on initial template installation.
This commit is contained in:
Marek Marczykowski-Górecki 2014-02-08 10:21:55 +01:00
parent 8e38b36012
commit 8acad1b78d

View File

@ -113,6 +113,10 @@ if [ -e /etc/init/serial.conf ]; then
cp /usr/share/qubes/serial.conf /etc/init/serial.conf
fi
%triggerin -- pulseaudio-module-x11
sed -i '/^\(Not\|Only\)ShowIn/d' /etc/xdg/autostart/pulseaudio.desktop
echo 'NotShowIn=QUBES;' >> /etc/xdg/autostart/pulseaudio.desktop
%post
# disable some Upstart services