diff options
author | joey <joey> | 2001-07-01 00:43:26 +0000 |
---|---|---|
committer | joey <joey> | 2001-07-01 00:43:26 +0000 |
commit | 59d03c4ec32655ace4130ca25f4a3cb51918480e (patch) | |
tree | 42a3e24b067fabe50c52672c1fad329aa52795a7 /dh_compress | |
parent | 208c562558554a18af654ab76544c8f2bcc08096 (diff) | |
download | debhelper-59d03c4ec32655ace4130ca25f4a3cb51918480e.tar.gz |
r484: * dh_compress: Don't compress .bz2 files, Closes: #102935
Diffstat (limited to 'dh_compress')
-rwxr-xr-x | dh_compress | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/dh_compress b/dh_compress index c90ce637..203f60c7 100755 --- a/dh_compress +++ b/dh_compress @@ -88,8 +88,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) { push @files, split(/\n/,`sh $olddir/$compress 2>/dev/null`); } else { - # By default, fall back to what the policy manual says to - # compress. Note that all the excludes of odd things like _z + # Note that all the excludes of odd things like _z # are because gzip refuses to compress such files, assumming # they are zip files. I looked at the gzip source to get the # complete list of such extensions: ".gz", ".z", ".taz", @@ -99,7 +98,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) { find usr/doc usr/share/doc -type f \\( -size +4k -or -name "changelog*" \\) \\ \\( -name changelog.html -or ! -iname "*.htm*" \\) \\ ! -iname "*.gif" ! -iname "*.png" ! -iname "*.jpg" ! -iname "*.jpeg" ! -iname "*.gz" \\ - ! -iname "*.taz" ! -iname "*.tgz" ! -iname "*.z" \\ + ! -iname "*.taz" ! -iname "*.tgz" ! -iname "*.z" ! -iname "*.bz2" \\ ! -iname "*-gz" ! -iname "*-z" ! -iname "*_z" \\ ! -name "copyright" 2>/dev/null || true `); |