diff options
Diffstat (limited to 'dh_gencontrol')
-rwxr-xr-x | dh_gencontrol | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dh_gencontrol b/dh_gencontrol index b9aaefb4..7614fa69 100755 --- a/dh_gencontrol +++ b/dh_gencontrol @@ -54,9 +54,12 @@ foreach my $package (@{$dh{DOPACKAGES}}) { # Generate and install control file. my @command="dpkg-gencontrol"; - if (GetPackages() > 1) { + if (getpackages() > 1) { push @command, "-p$package"; } + if (is_udeb($package)) { + push @command, "-n".udeb_filename($package); + } doit(@command, "-l$changelog", "-isp", "-Tdebian/${ext}substvars", "-P$tmp",@{$dh{U_PARAMS}}); |