summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2007-12-10 09:32:53 +0000
committerPeter Palfrader <peter@palfrader.org>2007-12-10 09:32:53 +0000
commitfa8ee867897a5bb032eafaa5206534427fb1ecf7 (patch)
tree3a33367d14abea33e59c350f092a344b698e4604
parentdfb2d0099eac97a79ded0242808d33d470b4f126 (diff)
rm -rf /var/lib/echolot in purge instead of /var/lib/echolot/*
-rw-r--r--debian/changelog11
-rwxr-xr-xdebian/echolot.postrm3
2 files changed, 13 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 02353ec..5440455 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,14 @@
+echolot (2.1.8-6) unstable; urgency=low
+
+ * In postrm during purge remove (rm -rf) /var/lib/echolot instead of
+ /var/lib/echolot/*. (This seems cleaner, even tho /var/lib/echolot, the
+ directory, should be removed a bit later by dpkg anyway since it's part of
+ the package. Since it is the home directory of the echolot user it quite
+ possible that some admin action caused dot files to appear in that
+ directory.)
+
+ -- Peter Palfrader <weasel@debian.org> Mon, 10 Dec 2007 10:22:09 +0100
+
echolot (2.1.8-5) unstable; urgency=low
* Increase Standards-Version from 3.6.2 to 3.7.2 without any
diff --git a/debian/echolot.postrm b/debian/echolot.postrm
index ea9b021..a1627c2 100755
--- a/debian/echolot.postrm
+++ b/debian/echolot.postrm
@@ -4,7 +4,8 @@
case "$1" in
purge)
- rm -rf /var/lib/echolot/*
+ rm -rf /var/lib/echolot
+ rm -rf /var/log/echolot
rmdir /etc/echolot/templates 2>/dev/null || true
rmdir /etc/echolot 2>/dev/null || true
dpkg-statoverride --remove /var/run/echolot >/dev/null 2>&1 || true