summaryrefslogtreecommitdiff
path: root/autoscripts/prerm-init-norestart
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/prerm-init-norestart
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/prerm-init-norestart')
-rw-r--r--autoscripts/prerm-init-norestart2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoscripts/prerm-init-norestart b/autoscripts/prerm-init-norestart
index ec9820f8..e04ec25a 100644
--- a/autoscripts/prerm-init-norestart
+++ b/autoscripts/prerm-init-norestart
@@ -1,3 +1,3 @@
-if [ "$1" = remove ]; then
+if [ -e "#SCRIPT#" -a "$1" = remove ]; then
/etc/init.d/#SCRIPT# stop
fi