summaryrefslogtreecommitdiff
path: root/debian/sane-utils.postrm
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-08-02 08:37:54 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-08-02 08:37:54 +0200
commitaebef15eb84193642aa42e3dcaacada6b825b006 (patch)
tree93b6934f00777bfa7aaace6549fecf4b092bb705 /debian/sane-utils.postrm
parent324a8a71bb7d9e4f8bc49b6bc47efaf9fb58282e (diff)
parent014e293669a19994bbfa54c2bc6d34169b5b4577 (diff)
Merge branch 'release/1.0.27-1_experimental2'1.0.27-1_experimental2
Diffstat (limited to 'debian/sane-utils.postrm')
-rw-r--r--debian/sane-utils.postrm8
1 files changed, 4 insertions, 4 deletions
diff --git a/debian/sane-utils.postrm b/debian/sane-utils.postrm
index e7af639..047cd06 100644
--- a/debian/sane-utils.postrm
+++ b/debian/sane-utils.postrm
@@ -1,6 +1,6 @@
#!/bin/sh
-# set -e
+set -e
#
# set -e are disabled because pathfind update-inetd
# gives an piuparts error.
@@ -26,10 +26,10 @@ pathfind() {
if [ "$1" = purge ] ; then
- pathfind update-inetd
+ pathfind update-inetd || true
if [ $? = 0 ] ; then
- update-inetd --remove sane-port
- update-inetd --remove "#<off># sane-port"
+ update-inetd --remove sane-port || true
+ update-inetd --remove "#<off># sane-port" || true
fi
#