summaryrefslogtreecommitdiff
path: root/dh_installinit
diff options
context:
space:
mode:
Diffstat (limited to 'dh_installinit')
-rwxr-xr-xdh_installinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/dh_installinit b/dh_installinit
index 1926e9f..0944d30 100755
--- a/dh_installinit
+++ b/dh_installinit
@@ -165,7 +165,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
my $scriptsrc;
my $jobfile=$package;
if (defined $dh{NAME}) {
- $jobfile=$script=$dh{NAME};
+ $jobfile=$script=$scriptsrc=$dh{NAME};
}
elsif ($dh{D_FLAG}) {
# -d on the command line sets D_FLAG. We will