summaryrefslogtreecommitdiff
path: root/dh_installinit
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-09-02 14:50:21 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-09-02 14:50:21 -0400
commit2b16a2add5bedab6b9f6f60184863a64c750e7f6 (patch)
tree287e5f366b4ee8e52d9a7d0cefdbe3f6770302fd /dh_installinit
parent5afc32c767432aa6b5842593e883397a905efc5f (diff)
downloaddebhelper-2b16a2add5bedab6b9f6f60184863a64c750e7f6.tar.gz
formatting
Diffstat (limited to 'dh_installinit')
-rwxr-xr-xdh_installinit5
1 files changed, 3 insertions, 2 deletions
diff --git a/dh_installinit b/dh_installinit
index edebeaf4..2c27d959 100755
--- a/dh_installinit
+++ b/dh_installinit
@@ -187,7 +187,8 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
doit("install","-d","$tmp/etc/init.d");
}
doit("ln","-sf","/lib/init/upstart-job","$tmp/etc/init.d/$jobfile");
- } else {
+ }
+ else {
$init=pkgfile($package,$script) || pkgfile($package,"init") ||
pkgfile($package,"init.d");
$default=pkgfile($package,'default');
@@ -224,7 +225,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
if ($params eq '') {
$params="defaults";
}
-
+
if (! $dh{NOSCRIPTS}) {
if (! $dh{NO_START}) {
if ($dh{RESTART_AFTER_UPGRADE}) {