aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/changelog5
-rw-r--r--debian/sitesummary-client.postrm14
2 files changed, 18 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index d78ce37..17e18f1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,9 @@
sitesummary (0.0.16) UNRELEASED; urgency=low
- * Fix typo in get_debian_edu_ver() making it fail to find the version name.
+ * Fix typo in get_debian_edu_ver() making it fail to
+ find the version name.
+ * Add sitesummary-client.postrm file to remove the
+ generated configuration files during purge.
-- Petter Reinholdtsen <pere@debian.org> Sun, 8 Oct 2006 09:48:43 +0200
diff --git a/debian/sitesummary-client.postrm b/debian/sitesummary-client.postrm
new file mode 100644
index 0000000..5961b73
--- /dev/null
+++ b/debian/sitesummary-client.postrm
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = "purge" ] ; then
+ (
+ cd /etc/sitesummary
+ rm -f config.d/00debconf
+ rm -f hostclass site sitecontact sitegroup
+ rmdir config.d 2>/dev/null || true
+ )
+fi
+
+#DEBHELPER#