From 63157c540e451c47bd334c295cd11c576808b5f0 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 12 Sep 2011 13:40:27 -0400 Subject: dh_fixperms: Operate on .ali files throughout /usr/lib, including multiarch dirs. Closes: #641279 This is extra work, but querying dpkg-architecture for the multiarch lib dir could easily take just as long. --- dh_fixperms | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'dh_fixperms') diff --git a/dh_fixperms b/dh_fixperms index 3730b49d..d6e237bc 100755 --- a/dh_fixperms +++ b/dh_fixperms @@ -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") { -- cgit v1.2.3