summaryrefslogtreecommitdiff
path: root/dh_compress
diff options
context:
space:
mode:
Diffstat (limited to 'dh_compress')
-rwxr-xr-xdh_compress6
1 files changed, 4 insertions, 2 deletions
diff --git a/dh_compress b/dh_compress
index 6fc20b1..5e8bb37 100755
--- a/dh_compress
+++ b/dh_compress
@@ -25,7 +25,8 @@ By default, dh_compress compresses files that debian policy mandates should
be compressed, namely all files in usr/share/info, usr/share/man,
usr/X11R6/man, files in usr/share/doc that are larger than 4k in size,
(except the copyright file, .html files, and files that appear to be already
-compressed based on their extensions), and all changelog files.
+compressed based on their extensions), and all changelog files. Plus PCF
+fonts underneath usr/X11R6/lib/X11/fonts/
If a debian/package.compress file exists, however, it will be ran as a shell
script, and all filenames that the shell script outputs will be compressed
@@ -101,7 +102,8 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
! -iname "*.tgz" ! -iname "*.z" ! -iname "*.bz2" \\
! -iname "*-gz" ! -iname "*-z" ! -iname "*_z" \\
! -iname "*.jar" ! -iname "*.zip" \\
- ! -name "copyright" 2>/dev/null || true
+ ! -name "copyright" 2>/dev/null || true;
+ find usr/X11R6/lib/X11/fonts -type f -name "*.pcf" 2>/dev/null || true;
`);
}