path: root/dh_compress
diff options
authorjoey <joey>2002-06-02 00:42:47 +0000
committerjoey <joey>2002-06-02 00:42:47 +0000
commit726335b0e13b2083903a680ab7ad7ac83bcfd811 (patch)
treea005bf5679bf2f8970ce1a686d372dae3c24edb5 /dh_compress
parent4106beebd28b7fe73dd19e43cf15378c08b8241f (diff)
r529: * dh_compress: always compress .pcf files in
/usr/X11R6/lib/X11/fonts/{100dpi,75dpi,misc}, as is required by policy.
Diffstat (limited to 'dh_compress')
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;