aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2006-10-08 11:12:17 +0000
committerPetter Reinholdtsen <pere@hungry.com>2006-10-08 11:12:17 +0000
commit6531bf161edefb3382248d6f8036cd53944db515 (patch)
treea2a373afae5c45f738c97e4eaee1315348e0d768
parent4d447b4a125d224154c547106b178ac502a447f4 (diff)
downloadsitesummary-6531bf161edefb3382248d6f8036cd53944db515.tar.gz
sitesummary-6531bf161edefb3382248d6f8036cd53944db515.tar.bz2
sitesummary-6531bf161edefb3382248d6f8036cd53944db515.tar.xz
Add sitesummary-client.postrm file to remove the generated configuration files during purge.
-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#