[Pkg-mailman-hackers] Pkg-mailman commit - rev 554 - trunk/debian
Thijs Kinkhorst
thijs at alioth.debian.org
Sun Jul 13 10:04:48 UTC 2008
Author: thijs
Date: 2008-07-13 10:04:48 +0000 (Sun, 13 Jul 2008)
New Revision: 554
Modified:
trunk/debian/changelog
trunk/debian/postrm
Log:
remove leftover *.pyc from /usr/lib/mailman after remove.
also remove /var/lock/mailman: it will not be removed if stale lock
files are present, but stale lock files are irrelevant after package
removal.
also release this.
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2008-07-13 09:08:15 UTC (rev 553)
+++ trunk/debian/changelog 2008-07-13 10:04:48 UTC (rev 554)
@@ -1,7 +1,9 @@
-mailman (1:2.1.11-2) UNRELEASED; urgency=low
+mailman (1:2.1.11-2) unstable; urgency=low
* Fix SpamAssassin handler to cope with changed behaviour
of matches_p() (Closes: #488584).
+ * Remove *.pyc from /usr/lb/mailman, and any stale locks on
+ package remove (Closes: #458414).
-- Thijs Kinkhorst <thijs at debian.org> Tue, 8 Jul 2008 09:43:15 +0200
Modified: trunk/debian/postrm
===================================================================
--- trunk/debian/postrm 2008-07-13 09:08:15 UTC (rev 553)
+++ trunk/debian/postrm 2008-07-13 10:04:48 UTC (rev 554)
@@ -4,6 +4,8 @@
#DEBHELPER#
+find /usr/lib/mailman -name *.pyc -print0 | xargs -0 rm -f
+
if [ "$1" = purge ]; then
# HACK: At present there is no way to ask ucf for registered files
# except for directly querying its database.
@@ -18,6 +20,8 @@
fi
fi
+rm -rf /var/lock/mailman
+
if [ "$1" = purge ]; then
rm -f /etc/cron.d/mailman
rm -rf /etc/mailman
More information about the Pkg-mailman-hackers
mailing list