From 270bd9e6c2b311e2f44c6001e70cbd263362d761 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Fri, 1 May 2015 08:20:59 +0200 Subject: Debian bug #783822 --- debian/sane-utils.postrm | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'debian/sane-utils.postrm') diff --git a/debian/sane-utils.postrm b/debian/sane-utils.postrm index f1a0d79..e7af639 100644 --- a/debian/sane-utils.postrm +++ b/debian/sane-utils.postrm @@ -1,6 +1,10 @@ #!/bin/sh -#set -e +# set -e +# +# set -e are disabled because pathfind update-inetd +# gives an piuparts error. +# # # POSIX-compliant shell function @@ -21,12 +25,13 @@ pathfind() { } -if [ "$1" = purge ]; then +if [ "$1" = purge ] ; then pathfind update-inetd - if [ $? = 0 ]; then + if [ $? = 0 ] ; then update-inetd --remove sane-port update-inetd --remove "## sane-port" fi + # # purge systemd files # -- cgit v1.2.3