summaryrefslogtreecommitdiff
path: root/dh_compress
diff options
context:
space:
mode:
authorjoey <joey>1999-10-06 20:09:44 +0000
committerjoey <joey>1999-10-06 20:09:44 +0000
commitda4e213d5ce9cfdcbe046744b3cddb4078f4360e (patch)
treeef1118af6767988273e048c7fe3b7311202a577b /dh_compress
parent03a9c3bed1d03e659e581501b097a1effb9f8277 (diff)
r292: * dh_compress: After compressing an executable, changes the file mode to
644. Executable .gz files are silly. Closes: #46383
Diffstat (limited to 'dh_compress')
-rwxr-xr-xdh_compress3
1 files changed, 3 insertions, 0 deletions
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");
}