From fb0d34ac16dced24297dcbc3312addee92af0857 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 21 Apr 2009 17:02:23 -0400 Subject: dh_fixperms: Ensure lintian overrides are mode 644. (Patch from #459548) --- dh_fixperms | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'dh_fixperms') diff --git a/dh_fixperms b/dh_fixperms index d9c726ca..1d4a33f3 100755 --- a/dh_fixperms +++ b/dh_fixperms @@ -105,6 +105,13 @@ foreach my $package (@{$dh{DOPACKAGES}}) { "-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") { + complex_doit("find $tmp/usr/share/lintian/overrides", + "-type f $find_options -print0", + "2>/dev/null | xargs -0r chmod 644"); + } } =head1 SEE ALSO -- cgit v1.2.3