]> git.donarmstrong.com Git - debhelper.git/commitdiff
* Remove execute bit from desktop files in /usr/share/applications.
authorJoey Hess <joey@kodama.kitenet.net>
Thu, 22 Nov 2007 00:35:16 +0000 (19:35 -0500)
committerJoey Hess <joey@kodama.kitenet.net>
Thu, 22 Nov 2007 00:35:16 +0000 (19:35 -0500)
Closes: #452337
debian/changelog
dh_fixperms

index f632eebacb170165284ed30056c28f6719fb30dc..3c60778bde197ecd5196267f67c6bf2c8d2639e8 100644 (file)
@@ -1,3 +1,10 @@
+debhelper (5.0.62) UNRELEASED; urgency=low
+
+  * Remove execute bit from desktop files in /usr/share/applications.
+    Closes: #452337
+
+ -- Joey Hess <joeyh@debian.org>  Wed, 21 Nov 2007 19:34:39 -0500
+
 debhelper (5.0.61) unstable; urgency=low
 
   * Man page fix re v4. Closes: #450608
index 86a3d1b42142f2fa0656fdd775704cb45b4e869d..d9c726ca5fa3c079f64bdd4a12c95cd90954410a 100755 (executable)
@@ -23,10 +23,10 @@ dh_fixperms makes all files in usr/share/doc in the package build directory
 (excluding files in the examples/ directory) be mode 644. It also changes
 the permissions of all man pages to mode 644. It makes all files be owned
 by root, and it removes group and other write permission from all files. It
-removes execute permissions from any libraries that have it set. It makes
-all files in bin/ directories, /usr/games/ and etc/init.d executable (since
-v4). Finally, it removes the setuid and setgid bits from all files in the
-package.
+removes execute permissions from any libraries, headers, perl modules, or
+desktop files that have it set. It makes all files in bin/ directories,
+/usr/games/ and etc/init.d executable (since v4). Finally, it removes the
+setuid and setgid bits from all files in the package.
 
 =head1 OPTIONS
 
@@ -76,7 +76,11 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
                "2>/dev/null | xargs -0r chmod 644");
        
        # ..and header files ..
-       complex_doit("find $tmp/usr/include  -type f $find_options -print0",
+       complex_doit("find $tmp/usr/include -type f $find_options -print0",
+               "2>/dev/null | xargs -0r chmod 644");
+       
+       # ..and desktop files ..
+       complex_doit("find $tmp/usr/share/applications -type f $find_options -print0",
                "2>/dev/null | xargs -0r chmod 644");
        
        # .. and perl modules.