dom0/spec: suppress unnecessary messages during package upgrade

This commit is contained in:
Marek Marczykowski 2012-07-12 03:47:18 +02:00
parent 2a9a6c761f
commit f0d55138d3

View File

@ -271,7 +271,7 @@ fi
# Remove unnecessary udev rules that causes problems in dom0 (#605)
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
rm -rf $RPM_BUILD_ROOT
@ -296,7 +296,7 @@ fi
sed -i 's/\/block /\/block.qubes /' /etc/udev/rules.d/xen-backend.rules
%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
if [ "$1" = 0 ] ; then