X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=dh_installdeb;h=93198ae5c0e589fc06e71c6183be6a406d2cdfa2;hb=1cc05631c07ec51f77b76d886ba035d6c7739fb3;hp=fdc76e60e8c114feac1a8b85d6282d2171326724;hpb=38751624f663abde81590eecdb70b1c6a4795ef8;p=debhelper.git diff --git a/dh_installdeb b/dh_installdeb index fdc76e6..93198ae 100755 --- a/dh_installdeb +++ b/dh_installdeb @@ -54,10 +54,13 @@ foreach my $package (@{$dh{DOPACKAGES}}) { if (is_udeb($package)) { # For udebs, only do the postinst, and no #DEBHELPER#. - my $f=pkgfile($package,"postinst"); - if ($f) { - doit("install", "-o", 0, "-g", 0, "-m", 755, - $f, "$tmp/DEBIAN/postinst"); + # Udebs also support menutest and isinstallable scripts. + foreach my $script (qw{postinst menutest isinstallable}) { + my $f=pkgfile($package,$script); + if ($f) { + doit("install", "-o", 0, "-g", 0, "-m", 755, + $f, "$tmp/DEBIAN/$script"); + } } next; }