From 07ce5d8660d75037ec43cc1132130164ec55678e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 5 Feb 2022 19:18:12 +0100 Subject: d/sane-utils.postrm: Use --remove-home instead --remove-all-files --- debian/changelog | 6 +++++- debian/sane-utils.postrm | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 1a468fd..671efd9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,11 +7,15 @@ sane-backends (1.1.1-1) UNRELEASED; urgency=medium - Refresh patches: + 0605-fix_groff-warnings.patch + 0100-source_spelling.patch + - Closes: #920216, * debian/copyright: - Refresh to the new upstream release. - Add 2022 to myself. * Remove *.lintian-overrides. - * Add home dir for user/group saned. + * debian/sane-utils.postinst: + - Add home dir for user/group saned (Closes: #995732). + * debian/sane-utils.postrm: + - Use --remove-home instead --remove-all-files (Closes: #1001960). -- Jörg Frings-Fürst Tue, 05 Oct 2021 11:56:18 +0200 diff --git a/debian/sane-utils.postrm b/debian/sane-utils.postrm index 9f4ef99..4bb3253 100644 --- a/debian/sane-utils.postrm +++ b/debian/sane-utils.postrm @@ -56,7 +56,7 @@ if [ "$1" = purge ] ; 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 + deluser -q --system --remove-home saned || true fi fi -- cgit v1.2.3