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 | |
parent | 4a088a7d3a176cd52a3f3b3a17ab1d0a1610b8b0 (diff) |
Reenable set -e and masquerade update-inetd calls with '|| true'.
-rw-r--r-- | debian/changelog | 2 | ||||
-rw-r--r-- | debian/sane-utils.postrm | 8 |
2 files changed, 6 insertions, 4 deletions
diff --git a/debian/changelog b/debian/changelog index 4d17810..09a0b88 100644 --- a/debian/changelog +++ b/debian/changelog @@ -9,6 +9,8 @@ sane-backends (1.0.27-1~experimental2) UNRELEASED; urgency=medium + Add Breaks and Replaces to the package libsane1 (Closes: #868308). + Remove outdated Recommends libsane-extras from libsane1 (Closes: #868265). + * debian/sane-utils.postrm: + + Reenable set -e and masquerade update-inetd calls with "|| true". -- Jörg Frings-Fürst <debian@jff-webhosting.net> Sat, 15 Jul 2017 11:31:34 +0200 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 # |