summaryrefslogtreecommitdiff
path: root/dh_fixperms
diff options
context:
space:
mode:
Diffstat (limited to 'dh_fixperms')
-rwxr-xr-xdh_fixperms6
1 files changed, 6 insertions, 0 deletions
diff --git a/dh_fixperms b/dh_fixperms
index 3f3babdc..5bd39f3d 100755
--- a/dh_fixperms
+++ b/dh_fixperms
@@ -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