[Pkg-mailman-hackers] Pkg-mailman commit - rev 100 - branches/pkg-split/core/debian
Bernd S. Brentrup
bsb@haydn.debian.org
Sat, 01 May 2004 04:13:54 -0600
Author: bsb
Date: 2004-05-01 04:13:45 -0600 (Sat, 01 May 2004)
New Revision: 100
Modified:
branches/pkg-split/core/debian/postinst
branches/pkg-split/core/debian/rules
Log:
Standard treatment for /etc/init.d/mailman
Modified: branches/pkg-split/core/debian/postinst
===================================================================
--- branches/pkg-split/core/debian/postinst 2004-04-29 19:29:35 UTC (rev 99)
+++ branches/pkg-split/core/debian/postinst 2004-05-01 10:13:45 UTC (rev 100)
@@ -70,11 +70,19 @@
gate_news = db.getBoolean('mailman/gate_news')
+def run_debhelper_additions():
+ runit = os.popen('/bin/sh', 'w')
+ runit.write("""\
+#DEBHELPER#
+""")
+ runit.close()
+
def setup():
compile_modules(MM_HOME)
create_mm_cfg()
update_cron()
+ run_debhelper_additions()
if __name__ == '__main__':
Modified: branches/pkg-split/core/debian/rules
===================================================================
--- branches/pkg-split/core/debian/rules 2004-04-29 19:29:35 UTC (rev 99)
+++ branches/pkg-split/core/debian/rules 2004-05-01 10:13:45 UTC (rev 100)
@@ -82,6 +82,7 @@
dh_installman --indep
dh_installcron --indep
dh_installlogrotate --indep
+ dh_installinit --indep
dh_fixperms --indep
# remove that wrapper, it's in mailman-bin