From fa8ee867897a5bb032eafaa5206534427fb1ecf7 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Mon, 10 Dec 2007 09:32:53 +0000 Subject: rm -rf /var/lib/echolot in purge instead of /var/lib/echolot/* --- debian/changelog | 11 +++++++++++ debian/echolot.postrm | 3 ++- 2 files changed, 13 insertions(+), 1 deletion(-) (limited to 'debian') 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 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 -- cgit v1.2.3