]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_fixperms
Updated French man page translation. Closes: #685560
[debhelper.git] / dh_fixperms
index 3730b49dae81d0882a898e660ce9f840a63bd851..a99a1345410493e79aba008f65ce27008663e48b 100755 (executable)
@@ -58,7 +58,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
        complex_doit("find $tmp ! -type l $find_options -print0",
                "2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s");
        
-       # Fix up premissions in usr/share/doc, setting everything to not
+       # Fix up permissions in usr/share/doc, setting everything to not
        # executable by default, but leave examples directories alone.
        complex_doit("find $tmp/usr/share/doc -type f $find_options ! -regex '$tmp/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null",
                "| xargs -0r chmod 644");
@@ -105,11 +105,9 @@ 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");
-       }
+       complex_doit("find $tmp/usr/lib -type f",
+               "-name '*.ali' $find_options -print0",
+               "2>/dev/null | xargs -0r chmod uga-w");
 
        # Lintian overrides should never be executable, too.
        if (-d "$tmp/usr/share/lintian") {