]> git.donarmstrong.com Git - debhelper.git/commitdiff
r1689: * dh_installmodules: Look for .ko files too. Closes: #248624 4.2.11
authorjoey <joey>
Sun, 6 Jun 2004 15:33:58 +0000 (15:33 +0000)
committerjoey <joey>
Sun, 6 Jun 2004 15:33:58 +0000 (15:33 +0000)
   * dh_fixperms: fix permissions of .h files. Closes: #252492

dh_fixperms

index 738033e21c12249ea1aee0aabd33a5627eecf2a4..3f3babdcd1b316288a379b5b89419a8dad7f78be 100755 (executable)
@@ -75,6 +75,11 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
                "\\( -name '*.so*' -or -name '*.la' -or -name '*.a' \\) $find_options -print0",
                "2>/dev/null | xargs -0r chmod 644");
        
+       # ..and header files ..
+       complex_doit("find $tmp/usr/include  -type f",
+               "-name '*.h' $find_options -print0",
+               "2>/dev/null | xargs -0r chmod 644");
+       
        # .. and perl modules.
        complex_doit("find $tmp/usr/lib/perl5 $tmp/usr/share/perl5 -type f",
                "-perm -5 -name '*.pm' $find_options -print0",