]> git.donarmstrong.com Git - debhelper.git/commitdiff
r484: * dh_compress: Don't compress .bz2 files, Closes: #102935
authorjoey <joey>
Sun, 1 Jul 2001 00:43:26 +0000 (00:43 +0000)
committerjoey <joey>
Sun, 1 Jul 2001 00:43:26 +0000 (00:43 +0000)
debian/changelog
dh_compress

index e1e612444778f551af1f6664e76cd5b7a4a138b0..d8a8ac55b7e13697b996991ee948e2e2b85b7075 100644 (file)
@@ -1,3 +1,9 @@
+debhelper (3.0.39) unstable; urgency=low
+
+  * dh_compress: Don't compress .bz2 files, Closes: #102935
+
+ -- Joey Hess <joeyh@debian.org>  Sat, 30 Jun 2001 20:39:17 -0400
+
 debhelper (3.0.38) unstable; urgency=low
 
   * fixed doc bog, Closes: #102130
index c90ce637668fafb751fc09879243a1e6fecb7b13..203f60c772d457f9b08a6608d3a6019c16a6f319 100755 (executable)
@@ -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
                `);