From 6f58fa33e52e45d25e2221fbd7c8179c688061b4 Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Sat, 15 Nov 2008 16:49:28 -0500 Subject: [PATCH] debian packaging: removing unnecessary error masking in {pre,post}rm --- packaging/debian/monkeysphere.postrm | 2 +- packaging/debian/monkeysphere.prerm | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packaging/debian/monkeysphere.postrm b/packaging/debian/monkeysphere.postrm index 8f87ed3..ffb6b6e 100755 --- a/packaging/debian/monkeysphere.postrm +++ b/packaging/debian/monkeysphere.postrm @@ -7,7 +7,7 @@ case $1 in purge) - rmdir --ignore-fail-on-non-empty /var/lib/monkeysphere || true + rmdir --ignore-fail-on-non-empty /var/lib/monkeysphere echo "removing monkeysphere user..." userdel monkeysphere > /dev/null || true ;; diff --git a/packaging/debian/monkeysphere.prerm b/packaging/debian/monkeysphere.prerm index 05b29e6..00523a1 100755 --- a/packaging/debian/monkeysphere.prerm +++ b/packaging/debian/monkeysphere.prerm @@ -9,8 +9,8 @@ VARLIB="/var/lib/monkeysphere" rm -f "$VARLIB"/gnupg-host/gpg.conf rm -f "$VARLIB"/gnupg-authentication/gpg.conf -rmdir --ignore-fail-on-non-empty "$VARLIB"/gnupg-host || true -rmdir --ignore-fail-on-non-empty "$VARLIB"/gnupg-authentication || true +rmdir --ignore-fail-on-non-empty "$VARLIB"/gnupg-host +rmdir --ignore-fail-on-non-empty "$VARLIB"/gnupg-authentication # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. -- 2.26.2