diff options
Diffstat (limited to 'dh_installsystemd')
-rwxr-xr-x | dh_installsystemd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dh_installsystemd b/dh_installsystemd index bf95624..74a2329 100755 --- a/dh_installsystemd +++ b/dh_installsystemd @@ -212,7 +212,7 @@ sub has_sysv_equivalent { 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}"); |