diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2008-11-15 16:49:28 -0500 |
---|---|---|
committer | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2008-11-15 16:49:28 -0500 |
commit | 6f58fa33e52e45d25e2221fbd7c8179c688061b4 (patch) | |
tree | 96a532a574f6f7e8977370805c7326b6fb7ac1a6 /packaging | |
parent | 786ca25009a33e3cd26281dafb6b4e8c7f22634f (diff) |
debian packaging: removing unnecessary error masking in {pre,post}rm
Diffstat (limited to 'packaging')
-rwxr-xr-x | packaging/debian/monkeysphere.postrm | 2 | ||||
-rwxr-xr-x | 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. |