From 9619afa3165d07cb4a9306f331c63cdea6dbfc02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 15 Jul 2017 22:44:54 +0200 Subject: Reenable set -e and masquerade update-inetd calls with '|| true'. --- debian/sane-utils.postrm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'debian/sane-utils.postrm') 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 "## sane-port" + update-inetd --remove sane-port || true + update-inetd --remove "## sane-port" || true fi # -- cgit v1.2.3