summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog2
-rw-r--r--debian/sane-utils.postrm8
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
#