From 688f67e7edbd2db3839e36a182f0da3d43699013 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 5 Aug 2009 11:02:46 -0400 Subject: dh_installdeb: In udeb mode, support the menutest and isinstallable maintainer scripts. Closes: #540079 Thanks, Colin Watson. --- debian/changelog | 2 ++ dh_installdeb | 11 +++++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index d99c651f..d17cad1b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,8 @@ debhelper (7.3.10) UNRELEASED; urgency=low when Build does not exist (ie due to being run twice in a row). Closes: #539848 * dh_builddeb: Fix man page typo. Closes: #539976 + * dh_installdeb: In udeb mode, support the menutest and isinstallable + maintainer scripts. Closes: #540079 Thanks, Colin Watson. -- Joey Hess Tue, 04 Aug 2009 13:19:31 -0400 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; } -- cgit v1.2.3