summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2014-01-25 15:50:14 -0400
committerJoey Hess <joey@kitenet.net>2014-01-25 15:50:14 -0400
commit34b1638276dfb61c76900d89c1fa28379322c914 (patch)
tree341d8a4a2ca08da1a628ed18b1492f5289f12db7
parent87265e472afa8e44cb0c7e4fd1ea8b1884d4a1e9 (diff)
dh_compress: Avoid compressing .map files, which may be html usemaps. Closes: #704443
-rw-r--r--debian/changelog7
-rwxr-xr-xdh_compress2
2 files changed, 8 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index cd52f9d..ebf733c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+debhelper (9.20131228) UNRELEASED; urgency=medium
+
+ * dh_compress: Avoid compressing .map files, which may be html
+ usemaps. Closes: #704443
+
+ -- Joey Hess <joeyh@debian.org> Sat, 25 Jan 2014 15:49:45 -0400
+
debhelper (9.20131227) unstable; urgency=medium
[ Guillem Jover ]
diff --git a/dh_compress b/dh_compress
index 73c477a..e908dd8 100755
--- a/dh_compress
+++ b/dh_compress
@@ -122,7 +122,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
! -iname "*.odg" ! -iname "*.odp" ! -iname "*.odt" \\
! -iname ".htaccess" ! -iname "*.css" \\
! -iname "*.svg" ! -iname "*.svgz" ! -iname "*.js" \\
- ! -name "index.sgml" ! -name "objects.inv" \\
+ ! -name "index.sgml" ! -name "objects.inv" ! -name "*.map" \\
! -name "copyright" 2>/dev/null || true;
find usr/share/fonts/X11 -type f -name "*.pcf" 2>/dev/null || true;
`);