diff options
author | Petter Reinholdtsen <pere@hungry.com> | 2010-02-07 10:50:46 +0000 |
---|---|---|
committer | Petter Reinholdtsen <pere@hungry.com> | 2010-02-07 10:50:46 +0000 |
commit | dfac27dd90acc73c261dbe719264f07bef0886b6 (patch) | |
tree | e64e02d4c6997066214e5f7cecc78746a8940109 | |
parent | 241e41324527565655cef282a5be146fccafa7a0 (diff) | |
download | sitesummary-dfac27dd90acc73c261dbe719264f07bef0886b6.tar.gz sitesummary-dfac27dd90acc73c261dbe719264f07bef0886b6.tar.bz2 sitesummary-dfac27dd90acc73c261dbe719264f07bef0886b6.tar.xz |
Remove files in /var/lib/sitesummary/ when sitesummary package is
purged. Thanks to piuparts and Holger Levsen for discovering the
left behind files.
-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# |