X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=dh_fixperms;h=a99a1345410493e79aba008f65ce27008663e48b;hb=18a0da8092ea9f3dc48bca92b36f592af25a608d;hp=3730b49dae81d0882a898e660ce9f840a63bd851;hpb=7bc99d44cfc0275e1b44b390bed1362c457da9ab;p=debhelper.git diff --git a/dh_fixperms b/dh_fixperms index 3730b49..a99a134 100755 --- a/dh_fixperms +++ b/dh_fixperms @@ -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") {