[Pkg-dspam-commits] [dspam] 02/04: Remove /var/log/dspam & /var/spool/dspam on purge
Thomas Preud'homme
robotux at moszumanska.debian.org
Tue Nov 26 16:18:24 UTC 2013
This is an automated email from the git hooks/post-receive script.
robotux pushed a commit to branch master
in repository dspam.
commit c039872ad822703d2147cca27b729c15d9c5e0d6
Author: Thomas Preud'homme <robotux at celest.fr>
Date: Tue Nov 26 18:53:36 2013 +0800
Remove /var/log/dspam & /var/spool/dspam on purge
---
debian/changelog | 1 +
debian/dspam.postrm | 6 ++++++
2 files changed, 7 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 62dc972..6ff8a83 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ dspam (3.10.2+dfsg-12) UNRELEASED; urgency=low
* Close stdin, stdout and stderr when launching dspam daemon in dspam init
script as dspam fails to do so (Closes: #726713).
+ * Remove /var/log/dspam and /var/spool/dspam on purge (Closes: 729787).
* debian/patches:
+ Enhance cssclean to fix corrupted css file (Closes: #722485).
diff --git a/debian/dspam.postrm b/debian/dspam.postrm
index 265f16b..a18f0af 100644
--- a/debian/dspam.postrm
+++ b/debian/dspam.postrm
@@ -24,6 +24,12 @@ case "$1" in
; do
dpkg-statoverride --quiet --remove $i || true
done
+ for i in \
+ /var/spool/dspam \
+ /var/log/dspam \
+ ; do
+ rm -r $i || true
+ done
;;
remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-dspam/dspam.git
More information about the Pkg-dspam-commits
mailing list