diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-07-15 22:44:54 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-07-15 22:44:54 +0200 |
commit | 9619afa3165d07cb4a9306f331c63cdea6dbfc02 (patch) | |
tree | 2e76475f9a76e103f3b77c4a146715073d5658ee /debian/sane-utils.postrm | |
parent | 4a088a7d3a176cd52a3f3b3a17ab1d0a1610b8b0 (diff) |
Reenable set -e and masquerade update-inetd calls with '|| true'.
Diffstat (limited to 'debian/sane-utils.postrm')
-rw-r--r-- | debian/sane-utils.postrm | 8 |
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 # |