summaryrefslogtreecommitdiffstats
path: root/dh_installinit
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-26 10:17:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-26 10:17:27 +0000
commit7b3d5890037484a6ee4573744869f28301902a8b (patch)
tree421062658afbf3303827539a888f86d5f73432ba /dh_installinit
parentReleasing progress-linux version 13.16-0.0~progress7.99u1. (diff)
downloaddebhelper-7b3d5890037484a6ee4573744869f28301902a8b.tar.xz
debhelper-7b3d5890037484a6ee4573744869f28301902a8b.zip
Merging upstream version 13.17.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dh_installinit')
-rwxr-xr-xdh_installinit12
1 files changed, 6 insertions, 6 deletions
diff --git a/dh_installinit b/dh_installinit
index 2839902..cd97a59 100755
--- a/dh_installinit
+++ b/dh_installinit
@@ -274,7 +274,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
}
my $service='';
- $service=pkgfile($package,"service") if compat(10);
+ $service=pkgfile({'named' => 1}, $package, "service") if compat(10);
if ($service ne '' && ! $dh{ONLYSCRIPTS}) {
my $path="$tmp/usr/lib/systemd/system";
install_dir($path);
@@ -282,14 +282,14 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
}
my $tmpfile='';
- $tmpfile=pkgfile($package,"tmpfile") if compat(10);
+ $tmpfile=pkgfile({'named' => 1}, $package,"tmpfile") if compat(10);
if ($tmpfile ne '' && ! $dh{ONLYSCRIPTS}) {
my $path="$tmp/usr/lib/tmpfiles.d";
install_dir($path);
install_file($tmpfile, "$path/$script.conf");
}
- my $job=pkgfile($package,"upstart");
+ my $job=pkgfile({'named' => 1}, $package,"upstart");
if ($job ne '' and not compat(11)) {
isnative($package); # For the side-effect of setting $dh{VERSION}
warning("Detected an upstart file; these are no longer supported by dh_installinit in compat 11");
@@ -306,14 +306,14 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
install_file($job, "$tmp/etc/init/$jobfile.conf");
}
- my $default=pkgfile($package,'default');
+ my $default=pkgfile({'named' => 1}, $package,'default');
if ($default ne '' && ! $dh{ONLYSCRIPTS}) {
install_dir("$tmp/etc/default");
install_file($default, "$tmp/etc/default/$script");
}
- my $init=pkgfile($package,$scriptsrc) || pkgfile($package,"init") ||
- pkgfile($package,"init.d");
+ my $init=pkgfile({'named' => 1}, $package,$scriptsrc) || pkgfile({'named' => 1}, $package,"init") ||
+ pkgfile({'named' => 1}, $package,"init.d");
if ($init ne '' && ! $dh{ONLYSCRIPTS}) {
install_dir("$tmp/etc/init.d");