Browse Source

debian: Added postrm disable of other Qubes packages

Jason Mehring 9 years ago
parent
commit
79db86a94a
1 changed files with 5 additions and 1 deletions
  1. 5 1
      debian/qubes-core-agent.postrm

+ 5 - 1
debian/qubes-core-agent.postrm

@@ -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