X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=dh_gencontrol;h=7614fa696d2ca6fbcc93c5e8ad3f5f2d0096e946;hb=refs%2Ftags%2F5.0.49;hp=941c9a8c71cbfaa9bee59cd894faa3e8ac3d1474;hpb=3c36c2532c3907f0a315d9010654176e8e9fc319;p=debhelper.git diff --git a/dh_gencontrol b/dh_gencontrol index 941c9a8..7614fa6 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}}); @@ -64,12 +67,12 @@ foreach my $package (@{$dh{DOPACKAGES}}) { # something odd. doit("chmod","644","$tmp/DEBIAN/control"); - doit("chown","0.0","$tmp/DEBIAN/control"); + doit("chown","0:0","$tmp/DEBIAN/control"); } =head1 SEE ALSO -L +L This program is a part of debhelper.