debian: Added postrm disable of other Qubes packages

This commit is contained in:
Jason Mehring 2014-11-07 18:26:21 -05:00
parent abcc01b874
commit 79db86a94a

View File

@ -36,12 +36,16 @@ set -e
# https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html or
# the debian-policy package
if [ "$1" = "remove" ] ; then
if [ "${1}" = "remove" ] ; then
/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas &> /dev/null || :
if [ -L /lib/firmware/updates ]; then
rm /lib/firmware/updates
fi
for srv in qubes-dvm qubes-sysinit qubes-misc-post qubes-netwatcher qubes-network qubes-qrexec-agent; do
systemctl disable ${srv}.service
done
fi
# dh_installdeb will replace this with shell code automatically