Attached is the diff for the NMU which I'm going to be uploading to
DELAYED/7 in a moment.
--
Programming should be fun, otherwise you're doing something wrong.
diff -u mailgraph-1.12/debian/postinst mailgraph-1.12/debian/postinst
--- mailgraph-1.12/debian/postinst
+++ mailgraph-1.12/debian/postinst
@@ -7,7 +7,11 @@
if [ "$RET" = "true" ]; then
update-rc.d mailgraph defaults >/dev/null
if [ ! -f /var/run/mailgraph.pid ]; then
- /etc/init.d/mailgraph start
+ if which invoke-rc.d >/dev/null 2>&1; then
+ invoke-rc.d mailgraph start
+ else
+ /etc/init.d/mailgraph start
+ fi
fi
else
update-rc.d -f mailgraph remove >/dev/null
diff -u mailgraph-1.12/debian/changelog mailgraph-1.12/debian/changelog
--- mailgraph-1.12/debian/changelog
+++ mailgraph-1.12/debian/changelog
@@ -1,3 +1,10 @@
+mailgraph (1.12-1.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * debian/postinst: Use invoke-rc.d, if available, to run init.d script.
+
+ -- Lars Wirzenius <[EMAIL PROTECTED]> Sat, 15 Jul 2006 11:11:53 +0300
+
mailgraph (1.12-1) unstable; urgency=low
* New upstream release.