From 726335b0e13b2083903a680ab7ad7ac83bcfd811 Mon Sep 17 00:00:00 2001 From: joey Date: Sun, 2 Jun 2002 00:42:47 +0000 Subject: r529: * dh_compress: always compress .pcf files in /usr/X11R6/lib/X11/fonts/{100dpi,75dpi,misc}, as is required by policy. --- dh_compress | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'dh_compress') diff --git a/dh_compress b/dh_compress index 6fc20b19..5e8bb379 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; `); } -- cgit v1.2.3