summaryrefslogtreecommitdiff
path: root/debian/sane-utils.postrm
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-07-28 13:57:41 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-07-28 13:57:41 +0200
commitb3854f7c266d92c2f0e384562493d4ff281e8ec9 (patch)
tree1a259e1d7d9956ad2e1d79dac736632806a5057f /debian/sane-utils.postrm
parent6dc74bfe7c897a776817cdcb7bbd7db6094ce1f1 (diff)
parent820acc6d73ec6f98236160d1ed2e383957500ddb (diff)
Merge branch 'feature/bugfix' into develop
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
#