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 <joeyh@debian.org> Tue, 04 Aug 2009 13:19:31 -0400
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;
}