diff options
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | debian/sane-utils.postrm | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/debian/changelog b/debian/changelog index 08e2114..334d9c3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +sane-backends (1.0.32-2) experimental; urgency=high + + * debian/sane-utils.postrm: Fix pathfind handling (Closes: #989879). + + -- Jörg Frings-Fürst <debian@jff.email> Wed, 16 Jun 2021 18:52:25 +0200 + sane-backends (1.0.32-1) experimental; urgency=medium * New Upstream release: diff --git a/debian/sane-utils.postrm b/debian/sane-utils.postrm index 30e2a2d..9f4ef99 100644 --- a/debian/sane-utils.postrm +++ b/debian/sane-utils.postrm @@ -26,8 +26,7 @@ pathfind() { if [ "$1" = purge ] ; then - pathfind update-inetd - if [ $? = 0 ] ; then + if pathfind update-inetd ; then update-inetd --remove sane-port || true update-inetd --remove "#<off># sane-port" || true fi @@ -54,8 +53,7 @@ if [ "$1" = purge ] ; then # # remove user / group # - pathfind deluser - if [ $? = 0 ] ; then + if pathfind deluser ; then deluser -q --group --system saned || true deluser -q --group --system scanner || true deluser -q --system --remove-all-files saned || true |