summaryrefslogtreecommitdiff
path: root/dh_compress
diff options
context:
space:
mode:
authorjoeyh <joeyh>2006-04-13 08:59:31 +0000
committerjoeyh <joeyh>2006-04-13 08:59:31 +0000
commit5cb05036a7c2716d3622290567881fd02a1b995d (patch)
tree7d7219aa1f7ea6108dc7e342ddcf20c93f27cc30 /dh_compress
parentf2fa43a9c942e163b377c84c32edc351942d916c (diff)
r1900: * dh_installxfonts: Random hack to deal with X font dirs moving to
/usr/share/fonts/X11/ -- look there for fonts as well as in the old location, although the old location probably won't be seen by X anymore. * dh_installxfonts: Generate misc:Depends on new xfonts-utils. * dh_compress: compress pcm fonts under usr/share/fonts/X11/ * dh_link: change example that used X11R6 directory.
Diffstat (limited to 'dh_compress')
-rwxr-xr-xdh_compress4
1 files changed, 2 insertions, 2 deletions
diff --git a/dh_compress b/dh_compress
index e8d5fcb..4b65efb 100755
--- a/dh_compress
+++ b/dh_compress
@@ -26,7 +26,7 @@ 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 and .css files, and files that appear to be
already compressed based on their extensions), and all changelog files. Plus
-PCF fonts underneath usr/X11R6/lib/X11/fonts/
+PCF fonts underneath usr/X11R6/lib/X11/fonts/ and usr/share/fonts/X11/
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
@@ -103,7 +103,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
! -iname "*-gz" ! -iname "*-z" ! -iname "*_z" \\
! -iname "*.jar" ! -iname "*.zip" ! -iname "*.css" \\
! -name "copyright" 2>/dev/null || true;
- find usr/X11R6/lib/X11/fonts -type f -name "*.pcf" 2>/dev/null || true;
+ find usr/X11R6/lib/X11/fonts usr/share/fonts/X11 -type f -name "*.pcf" 2>/dev/null || true;
`);
}