diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-09-02 14:50:21 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-09-02 14:50:21 -0400 |
commit | 2b16a2add5bedab6b9f6f60184863a64c750e7f6 (patch) | |
tree | 287e5f366b4ee8e52d9a7d0cefdbe3f6770302fd /dh_installinit | |
parent | 5afc32c767432aa6b5842593e883397a905efc5f (diff) | |
download | debhelper-2b16a2add5bedab6b9f6f60184863a64c750e7f6.tar.gz |
formatting
Diffstat (limited to 'dh_installinit')
-rwxr-xr-x | dh_installinit | 5 |
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}) { |