summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
Diffstat (limited to 'packaging')
-rw-r--r--packaging/debian/changelog6
-rwxr-xr-xpackaging/debian/monkeysphere.prerm2
2 files changed, 8 insertions, 0 deletions
diff --git a/packaging/debian/changelog b/packaging/debian/changelog
index bed79ea..62f021e 100644
--- a/packaging/debian/changelog
+++ b/packaging/debian/changelog
@@ -1,3 +1,9 @@
+monkeysphere (0.21-2) unstable; urgency=low
+
+ * actually rmdir /var/lib/monkeysphere-* during prerm if possible.
+
+ -- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Sat, 15 Nov 2008 16:36:57 -0500
+
monkeysphere (0.21-1) unstable; urgency=low
* New upstream release:
diff --git a/packaging/debian/monkeysphere.prerm b/packaging/debian/monkeysphere.prerm
index 433a0aa..948bfee 100755
--- a/packaging/debian/monkeysphere.prerm
+++ b/packaging/debian/monkeysphere.prerm
@@ -9,6 +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"/monkeysphere/gnupg-host || true
+rmdir --ignore-fail-on-non-empty "$VARLIB"/monkeysphere/gnupg-authentication || true
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.