r2291 - trunk/varnish-cache/debian

ssm at projects.linpro.no ssm at projects.linpro.no
Tue Dec 11 08:02:24 CET 2007


Author: ssm
Date: 2007-12-11 08:02:24 +0100 (Tue, 11 Dec 2007)
New Revision: 2291

Modified:
   trunk/varnish-cache/debian/varnish.postinst
Log:
Debian packaging: Remove extra debhelper section in main postinst file, this
was included by the debhelper tag as well, which resulted in a double startup
entry, and an error on package installation.


Modified: trunk/varnish-cache/debian/varnish.postinst
===================================================================
--- trunk/varnish-cache/debian/varnish.postinst	2007-12-11 06:14:49 UTC (rev 2290)
+++ trunk/varnish-cache/debian/varnish.postinst	2007-12-11 07:02:24 UTC (rev 2291)
@@ -13,13 +13,3 @@
 varnish_create_storagedir
 
 #DEBHELPER#
-# Automatically added by dh_installinit
-if [ -x "/etc/init.d/varnish" ]; then
-	update-rc.d varnish defaults >/dev/null
-	if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
-		invoke-rc.d varnish start || exit $?
-	else
-		/etc/init.d/varnish start || exit $?
-	fi
-fi
-# End automatically added section




More information about the varnish-commit mailing list