debian packaging: removing unnecessary error masking in {pre,post}rm
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Sat, 15 Nov 2008 21:49:28 +0000 (16:49 -0500)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Sat, 15 Nov 2008 21:49:28 +0000 (16:49 -0500)
packaging/debian/monkeysphere.postrm
packaging/debian/monkeysphere.prerm

index 8f87ed359dc4f0f95b9c3b5b91cd63657a5d2323..ffb6b6e35cfa191332c2a60879b67b248a2149d8 100755 (executable)
@@ -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
         ;;
index 05b29e6faa52aa337eb3e4ae2cf75bcc50bc1feb..00523a11044a63a45acde2fcd820b74ed4afeee3 100755 (executable)
@@ -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.