From: joey Date: Wed, 6 Oct 1999 20:09:44 +0000 (+0000) Subject: r292: * dh_compress: After compressing an executable, changes the file mode to X-Git-Tag: version_2.0.101~306 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=da4e213d5ce9cfdcbe046744b3cddb4078f4360e;p=debhelper.git r292: * dh_compress: After compressing an executable, changes the file mode to 644. Executable .gz files are silly. Closes: #46383 --- diff --git a/debian/changelog b/debian/changelog index 344bc54..236649e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +debhelper (2.0.60) unstable; urgency=low + + * dh_compress: After compressing an executable, changes the file mode to + 644. Executable .gz files are silly. Closes: #46383 + + -- Joey Hess Wed, 6 Oct 1999 13:05:14 -0700 + debhelper (2.0.59) unstable; urgency=low * dh_installdocs: if $TMP/usr/share/doc/$PACKAGE is a broken symlink, diff --git a/dh_compress b/dh_compress index 1312bf4..a01f5d1 100755 --- a/dh_compress +++ b/dh_compress @@ -86,6 +86,9 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) { } if (@f) { + # Make executables not be anymore. + xargs(\@f,"chmod","a-x"); + xargs(\@f,"gzip","-9f"); }