diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-08-05 11:02:46 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-08-05 11:02:46 -0400 |
commit | 688f67e7edbd2db3839e36a182f0da3d43699013 (patch) | |
tree | 321215e98967240ebb7db7cf2d99085188b1ba47 /dh_installdeb | |
parent | 71f75753a169ce812cf08ff304cf3f976ff7f082 (diff) | |
download | debhelper-688f67e7edbd2db3839e36a182f0da3d43699013.tar.gz |
dh_installdeb: In udeb mode, support the menutest and isinstallable maintainer scripts. Closes: #540079 Thanks, Colin Watson.
Diffstat (limited to 'dh_installdeb')
-rwxr-xr-x | dh_installdeb | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/dh_installdeb b/dh_installdeb index fdc76e60..93198ae5 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; } |