summaryrefslogtreecommitdiff
path: root/dh_compress
diff options
context:
space:
mode:
authorjoey <joey>2002-10-05 18:57:34 +0000
committerjoey <joey>2002-10-05 18:57:34 +0000
commit550df8e800f56e2bab70601a043142e3b2c92074 (patch)
tree452366d99826918aa56e47cf8c417083b0775630 /dh_compress
parent65ccc28c2f9abfdf88e7250b55ce3b7561e68a6f (diff)
r555: * dh_compress: Exclude .css files, to prevent broken links from html files,
and since they are generally small, and since this matches existing practice. Closes: #163303
Diffstat (limited to 'dh_compress')
-rwxr-xr-xdh_compress8
1 files changed, 4 insertions, 4 deletions
diff --git a/dh_compress b/dh_compress
index 5c04e0c..eaa1717 100755
--- a/dh_compress
+++ b/dh_compress
@@ -24,9 +24,9 @@ to the new files.
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. Plus PCF
-fonts underneath usr/X11R6/lib/X11/fonts/
+(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/
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 +101,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
! -iname "*.jpeg" ! -iname "*.gz" ! -iname "*.taz" \\
! -iname "*.tgz" ! -iname "*.z" ! -iname "*.bz2" \\
! -iname "*-gz" ! -iname "*-z" ! -iname "*_z" \\
- ! -iname "*.jar" ! -iname "*.zip" \\
+ ! -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;
`);