From 515a01d46a768ee63a4665c643cdd6889ffaebfc Mon Sep 17 00:00:00 2001 From: joey Date: Mon, 5 Mar 2001 00:36:29 +0000 Subject: 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 --- autoscripts/postinst-init | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'autoscripts/postinst-init') diff --git a/autoscripts/postinst-init b/autoscripts/postinst-init index 976c6b34..5ef99c7c 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 -- cgit v1.2.3