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.


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2291 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 860cf9fa
......@@ -13,13 +13,3 @@ varnish_setup_user
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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment