summaryrefslogtreecommitdiffstats
path: root/dh_systemd_enable
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-26 10:17:26 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-26 10:17:26 +0000
commitd6e1d2323492fd53d142c79c1816f132ec161b83 (patch)
tree71fb9778de5e8ef50446e7d32b07f088e4ede23a /dh_systemd_enable
parentAdding upstream version 13.16. (diff)
downloaddebhelper-d6e1d2323492fd53d142c79c1816f132ec161b83.tar.xz
debhelper-d6e1d2323492fd53d142c79c1816f132ec161b83.zip
Adding upstream version 13.17.upstream/13.17
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dh_systemd_enable')
-rwxr-xr-xdh_systemd_enable2
1 files changed, 1 insertions, 1 deletions
diff --git a/dh_systemd_enable b/dh_systemd_enable
index e7c02ba..3aa9af6 100755
--- a/dh_systemd_enable
+++ b/dh_systemd_enable
@@ -135,7 +135,7 @@ sub contains_install_section {
sub install_unit {
my ($package, $script, $pkgsuffix, $path, $installsuffix) = @_;
$installsuffix = $installsuffix || $pkgsuffix;
- my $unit = pkgfile($package, $pkgsuffix);
+ my $unit = pkgfile({'named' => 1}, $package, $pkgsuffix);
return if $unit eq '';
install_dir($path);
install_file($unit, "${path}/${script}.${installsuffix}");