summaryrefslogtreecommitdiff
path: root/debian/sane-utils.postrm
diff options
context:
space:
mode:
Diffstat (limited to 'debian/sane-utils.postrm')
-rw-r--r--debian/sane-utils.postrm11
1 files changed, 8 insertions, 3 deletions
diff --git a/debian/sane-utils.postrm b/debian/sane-utils.postrm
index f1a0d79..e7af639 100644
--- a/debian/sane-utils.postrm
+++ b/debian/sane-utils.postrm
@@ -1,6 +1,10 @@
#!/bin/sh
-#set -e
+# set -e
+#
+# set -e are disabled because pathfind update-inetd
+# gives an piuparts error.
+#
#
# POSIX-compliant shell function
@@ -21,12 +25,13 @@ pathfind() {
}
-if [ "$1" = purge ]; then
+if [ "$1" = purge ] ; then
pathfind update-inetd
- if [ $? = 0 ]; then
+ if [ $? = 0 ] ; then
update-inetd --remove sane-port
update-inetd --remove "#<off># sane-port"
fi
+
#
# purge systemd files
#