summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/debian/monkeysphere.postrm2
-rwxr-xr-xpackaging/debian/monkeysphere.prerm4
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.