]> git.donarmstrong.com Git - debhelper.git/commitdiff
dh_fixperms: Ensure lintian overrides are mode 644. (Patch from #459548)
authorJoey Hess <joey@gnu.kitenet.net>
Tue, 21 Apr 2009 21:02:23 +0000 (17:02 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Tue, 21 Apr 2009 21:02:23 +0000 (17:02 -0400)
debian/changelog
dh_fixperms

index 12bfc24f0c93bca5d8350c8219adf14b26723227..e275d4cb9ce0f27931cd990c74633aaaff9257a7 100644 (file)
@@ -1,3 +1,10 @@
+debhelper (7.2.9) UNRELEASED; urgency=low
+
+  * dh_fixperms: Ensure lintian overrides are mode 644.
+    (Patch from #459548)
+
+ -- Joey Hess <joeyh@debian.org>  Tue, 21 Apr 2009 17:01:41 -0400
+
 debhelper (7.2.8) unstable; urgency=low
 
   * dh_desktop: Now a deprecated no-op, since desktop-file-utils
index d9c726ca5fa3c079f64bdd4a12c95cd90954410a..1d4a33f33d6954f0a1d27fdb3a93bf53441d6720 100755 (executable)
@@ -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