summaryrefslogtreecommitdiff
path: root/debian/sane-utils.postrm
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2014-12-26 11:58:57 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2014-12-26 11:58:57 +0100
commit1f9d7dbe8c4e55956f8cb274d74d156ed2d35722 (patch)
tree61d1d271d98dfc25573d012f0c3ba7b18888b71e /debian/sane-utils.postrm
parentc8cf23699feb55f0b754cfe9c14aced1ba4f56c7 (diff)
some release changes, correct systemddebian/1.0.24-7
Diffstat (limited to 'debian/sane-utils.postrm')
-rw-r--r--debian/sane-utils.postrm13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/sane-utils.postrm b/debian/sane-utils.postrm
index 5ebdada..a11d248 100644
--- a/debian/sane-utils.postrm
+++ b/debian/sane-utils.postrm
@@ -7,6 +7,19 @@ if [ "$1" = purge ]; then
update-inetd --remove sane-port
update-inetd --remove "#<off># sane-port"
fi
+#
+# purge systemd files
+#
+ rm -f /etc/systemd/system/saned.socket
+ rm -f /var/lib/systemd/deb-systemd-helper-enabled/saned.socket.dsh-also
+ rm -f /var/lib/systemd/deb-systemd-helper-masked/saned.socket
+ if [ -d /var/lib/systemd/deb-systemd-helper-enabled ]; then
+ rmdir --ignore-fail-on-non-empty /var/lib/systemd/deb-systemd-helper-enabled
+ fi
+ if [ -d /var/lib/systemd/deb-systemd-helper-masked ]; then
+ rmdir --ignore-fail-on-non-empty /var/lib/systemd/deb-systemd-helper-masked
+ fi
+
fi
#DEBHELPER#