]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_fixperms
r1695: * dh_gconf: gconf schemas moved to /usr/share/gconf/schemas. Relocate
[debhelper.git] / dh_fixperms
index 3f3babdcd1b316288a379b5b89419a8dad7f78be..5bd39f3dc495eee84d52dfdcfa48c5c9f4dfb26c 100755 (executable)
@@ -96,6 +96,12 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
                }
        }
        
+       # ADA ali files should be mode 444 to avoid recompilation
+       if (-d "$tmp/usr/lib/ada") {
+               complex_doit("find $tmp/usr/lib/ada -type f",
+                       "-name '*.ali' $find_options -print0",
+                       "2>/dev/null | xargs -0r chmod uga-w");
+       }
 }
 
 =head1 SEE ALSO