summaryrefslogtreecommitdiff
path: root/dh_installinit
diff options
context:
space:
mode:
Diffstat (limited to 'dh_installinit')
-rwxr-xr-xdh_installinit3
1 files changed, 2 insertions, 1 deletions
diff --git a/dh_installinit b/dh_installinit
index 29937c5..e4b67d0 100755
--- a/dh_installinit
+++ b/dh_installinit
@@ -155,6 +155,8 @@ init(options => {
"remove-d" => \$dh{D_FLAG},
});
+# PROMISE: DH NOOP WITHOUT service tmpfile upstart init init.d
+
foreach my $package (@{$dh{DOPACKAGES}}) {
my $tmp=tmpdir($package);
@@ -204,7 +206,6 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
}
my $job=pkgfile($package,"upstart");
-
if ($job ne '' && ! $dh{ONLYSCRIPTS}) {
if (! -d "$tmp/etc/init") {
doit("install","-d","$tmp/etc/init");