From 57c64f1acca5b544b2f088097c7296649b7e122e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Fri, 30 Apr 2021 19:51:20 +0200 Subject: Fix package doesn't purge cleanly (fix test with pathfind()) --- .pc/.quilt_patches | 1 - .pc/.quilt_series | 1 - debian/changelog | 2 ++ debian/sane-utils.postrm | 4 ++-- 4 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 .pc/.quilt_patches delete mode 100644 .pc/.quilt_series diff --git a/.pc/.quilt_patches b/.pc/.quilt_patches deleted file mode 100644 index 6857a8d..0000000 --- a/.pc/.quilt_patches +++ /dev/null @@ -1 +0,0 @@ -debian/patches diff --git a/.pc/.quilt_series b/.pc/.quilt_series deleted file mode 100644 index c206706..0000000 --- a/.pc/.quilt_series +++ /dev/null @@ -1 +0,0 @@ -series diff --git a/debian/changelog b/debian/changelog index 8483a9d..5c48515 100644 --- a/debian/changelog +++ b/debian/changelog @@ -38,6 +38,8 @@ sane-backends (1.0.32-1) UNRELEASED; urgency=medium * debian/sane-utils.postrm: - Fix package doesn't purge cleanly (user/group not purged) (Closes: #987837). + - Fix package doesn't purge cleanly (fix test with pathfind()) + (Closes: #987805). -- Jörg Frings-Fürst Tue, 16 Feb 2021 18:26:03 +0100 diff --git a/debian/sane-utils.postrm b/debian/sane-utils.postrm index 20d95a7..30e2a2d 100644 --- a/debian/sane-utils.postrm +++ b/debian/sane-utils.postrm @@ -26,7 +26,7 @@ pathfind() { if [ "$1" = purge ] ; then - pathfind update-inetd || true + pathfind update-inetd if [ $? = 0 ] ; then update-inetd --remove sane-port || true update-inetd --remove "## sane-port" || true @@ -54,7 +54,7 @@ if [ "$1" = purge ] ; then # # remove user / group # - pathfind deluser || true + pathfind deluser if [ $? = 0 ] ; then deluser -q --group --system saned || true deluser -q --group --system scanner || true -- cgit v1.2.3