[Pkg-mailman-hackers] Pkg-mailman commit - rev 209 - trunk/debian
Tollef Fog Heen
tfheen@costa.debian.org
Wed, 16 Feb 2005 21:28:55 +0100
Author: tfheen
Date: 2005-02-16 21:28:54 +0100 (Wed, 16 Feb 2005)
New Revision: 209
Modified:
trunk/debian/changelog
trunk/debian/postinst
Log:
Fix up typo in cron script (closes: #284311)
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2005-02-16 20:16:08 UTC (rev 208)
+++ trunk/debian/changelog 2005-02-16 20:28:54 UTC (rev 209)
@@ -3,6 +3,7 @@
* Brown bag release -- use '/' instead of the undefined SLASH in
Cgi/private.py. (closes: #294874)
* Handle the case of non-ascii chars in realname. (closes: #293861)
+ * Fix up typo in cron script (closes: #284311)
-- Tollef Fog Heen <tfheen@debian.org> Wed, 16 Feb 2005 20:29:00 +0100
Modified: trunk/debian/postinst
===================================================================
--- trunk/debian/postinst 2005-02-16 20:16:08 UTC (rev 208)
+++ trunk/debian/postinst 2005-02-16 20:28:54 UTC (rev 209)
@@ -153,7 +153,7 @@
# Every 5 mins, try to gate news to mail. You can comment this one out
# if you don't want to allow gating, or don't have any going on right now,
# or want to exclusively use a callback strategy instead of polling.
-# 0,5,10,15,20,25,30,35,40,45,50,55 * * * * list [ -x /usr/lib/mailman/cron/gate_news] && /usr/lib/mailman/cron/gate_news
+# 0,5,10,15,20,25,30,35,40,45,50,55 * * * * list [ -x /usr/lib/mailman/cron/gate_news ] && /usr/lib/mailman/cron/gate_news
#
# At 3:27am every night, regenerate the gzip'd archive file. Only
# turn this on if the internal archiver is used and
@@ -221,6 +221,12 @@
fi
done
+ # This should be removed after etch is released, it crept in in 2.1.5-1
+ if grep -q "gate_news]" /etc/cron.d/mailman; then
+ sed -e 's/gate_news]/gate_news ]/' < /etc/cron.d/mailman > /etc/cron.d/mailman.$$
+ mv -f /etc/cron.d/mailman.$$ /etc/cron.d/mailman
+ fi
+
db_get mailman/gate_news || true
if [ "$RET" = "false" ]; then
# Comment out any lines containing the words "gate_news"