summaryrefslogtreecommitdiff
path: root/packaging/debian
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2008-11-15 16:49:28 -0500
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2008-11-15 16:49:28 -0500
commit6f58fa33e52e45d25e2221fbd7c8179c688061b4 (patch)
tree96a532a574f6f7e8977370805c7326b6fb7ac1a6 /packaging/debian
parent786ca25009a33e3cd26281dafb6b4e8c7f22634f (diff)
debian packaging: removing unnecessary error masking in {pre,post}rm
Diffstat (limited to 'packaging/debian')
-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.