]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_installdeb
dh_installudev transition
[debhelper.git] / dh_installdeb
index fdc76e60e8c114feac1a8b85d6282d2171326724..93198ae5c0e589fc06e71c6183be6a406d2cdfa2 100755 (executable)
@@ -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;           
        }