summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-init
diff options
context:
space:
mode:
authorjoey <joey>2001-03-05 00:36:29 +0000
committerjoey <joey>2001-03-05 00:36:29 +0000
commit515a01d46a768ee63a4665c643cdd6889ffaebfc (patch)
tree118e16220c50d9986029fb4a7a348e540ef0eed9 /autoscripts/postinst-init
parent811a51e68bf36e8116d5cb0f60fde617640cdcd3 (diff)
r450: * Modified to use dpkg-architecture instead of dpkg --print-architecture.
I hate this, and wish it wasn't necessary to make cross compiles for the hurd work. Closes: #88494 * Now depends on debconf-utils for debconf-mergetemplates. Closes: #87321 * Continues to depend on lynx for html changelog conversions. Yes, these and packages with translated debconf templates are rather rare, but it makes more sense for debhelper to consistently depend on all utilities it uses internally rather than force people to keep their dependancies up to date with debhelper internals. If I decide tomorrow that w3m is the better program to use to format html changelogs, I can make the change and packages don't need to update their build dependancies. Closes: #88464, #77743 * Test for init scripts before running them, since they are conffiles and the admin may have removed them for some reason, and policy wants us to deal with that gracefully. * dh_makeshlibs: now uses objdump, should be more accurate. Closes: #88426 * Wildcards have been supported for a while, Closes: #54197 * dh_installdocs and dh_link have been able to make doc-dir symlinks for a while, Closes: #51225
Diffstat (limited to 'autoscripts/postinst-init')
-rw-r--r--autoscripts/postinst-init6
1 files changed, 4 insertions, 2 deletions
diff --git a/autoscripts/postinst-init b/autoscripts/postinst-init
index 976c6b3..5ef99c7 100644
--- a/autoscripts/postinst-init
+++ b/autoscripts/postinst-init
@@ -1,2 +1,4 @@
-update-rc.d #SCRIPT# #INITPARMS# >/dev/null
-/etc/init.d/#SCRIPT# start
+if [ -e "#SCRIPT#" ]; then
+ update-rc.d #SCRIPT# #INITPARMS# >/dev/null
+ /etc/init.d/#SCRIPT# start
+fi