diff options
-rw-r--r-- | debian/changelog | 8 | ||||
-rwxr-xr-x | debian/sitesummary.postrm | 12 |
2 files changed, 20 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 050be9b..2079e1c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +sitesummary (0.0.60) UNRELEASED; urgency=low + + * Remove files in /var/lib/sitesummary/ when sitesummary package is + purged. Thanks to piuparts and Holger Levsen for discovering the + left behind files. + + -- Petter Reinholdtsen <pere@debian.org> Sun, 07 Feb 2010 11:46:56 +0100 + sitesummary (0.0.59) unstable; urgency=low * Restructure cron job, move munin and nagios updating code to diff --git a/debian/sitesummary.postrm b/debian/sitesummary.postrm new file mode 100755 index 0000000..ec8b491 --- /dev/null +++ b/debian/sitesummary.postrm @@ -0,0 +1,12 @@ +#!/bin/sh + +set -e + +if [ "$1" = "purge" ] ; then + cd /var/lib/sitesummary + rm -rf entries tmpstorage www + rm -f munin.conf munin.conf.pre munin.conf.post + rm -f nagios-generated.cfg +fi + +#DEBHELPER# |