dom0/spec: suppress unnecessary messages during package upgrade

This commit is contained in:
Marek Marczykowski 2012-07-12 03:47:18 +02:00
parent e81fb612ce
commit 00778cacea

View File

@ -267,7 +267,7 @@ fi
# Remove unnecessary udev rules that causes problems in dom0 (#605) # Remove unnecessary udev rules that causes problems in dom0 (#605)
mkdir -p /var/lib/qubes/removed-udev-scripts mkdir -p /var/lib/qubes/removed-udev-scripts
mv -f /lib/udev/rules.d/69-xorg-vmmouse.rules /var/lib/qubes/removed-udev-scripts/ mv -f /lib/udev/rules.d/69-xorg-vmmouse.rules /var/lib/qubes/removed-udev-scripts/ 2> /dev/null || :
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -292,7 +292,7 @@ fi
sed -i 's/\/block /\/block.qubes /' /etc/udev/rules.d/xen-backend.rules sed -i 's/\/block /\/block.qubes /' /etc/udev/rules.d/xen-backend.rules
%triggerin -- xorg-x11-drv-vmmouse %triggerin -- xorg-x11-drv-vmmouse
mv -f /lib/udev/rules.d/69-xorg-vmmouse.rules /var/lib/qubes/removed-udev-scripts/ mv -f /lib/udev/rules.d/69-xorg-vmmouse.rules /var/lib/qubes/removed-udev-scripts/ 2> /dev/null || :
%preun %preun
if [ "$1" = 0 ] ; then if [ "$1" = 0 ] ; then