summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-init
diff options
context:
space:
mode:
authorjoey <joey>2001-03-13 11:13:51 +0000
committerjoey <joey>2001-03-13 11:13:51 +0000
commit113433b867877a98915194631f8bbf14c6f65048 (patch)
tree87aa0106601cf4fd0d54f0bd6ce15c2927207875 /autoscripts/postinst-init
parent515a01d46a768ee63a4665c643cdd6889ffaebfc (diff)
downloaddebhelper-113433b867877a98915194631f8bbf14c6f65048.tar.gz
r451: * Fixed broken -e #SCRIPT# tests in init script start/stop/restart code.
Arrgh. All packages built with the old code (that is, all daemon packages built with debhelper 3.0.9!) are broken. Closes: #89472
Diffstat (limited to 'autoscripts/postinst-init')
-rw-r--r--autoscripts/postinst-init2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoscripts/postinst-init b/autoscripts/postinst-init
index 5ef99c7c..159b12d7 100644
--- a/autoscripts/postinst-init
+++ b/autoscripts/postinst-init
@@ -1,4 +1,4 @@
-if [ -e "#SCRIPT#" ]; then
+if [ -e "/etc/init.d/#SCRIPT#" ]; then
update-rc.d #SCRIPT# #INITPARMS# >/dev/null
/etc/init.d/#SCRIPT# start
fi