aboutsummaryrefslogtreecommitdiffstats
path: root/compress_files
diff options
context:
space:
mode:
authorChmouel Boudjnah <chmouel@mandriva.org>2000-03-23 17:35:32 +0000
committerChmouel Boudjnah <chmouel@mandriva.org>2000-03-23 17:35:32 +0000
commita98655ecfa485b52f2e1f40f31d919a5f67de84e (patch)
treeae966f4b6ed5a39de5105b3c420b1e7e33355304 /compress_files
parentf6b08332da564cf71374ab21e6bdea721fd4c685 (diff)
downloadspec-helper-a98655ecfa485b52f2e1f40f31d919a5f67de84e.tar
spec-helper-a98655ecfa485b52f2e1f40f31d919a5f67de84e.tar.gz
spec-helper-a98655ecfa485b52f2e1f40f31d919a5f67de84e.tar.bz2
spec-helper-a98655ecfa485b52f2e1f40f31d919a5f67de84e.tar.xz
spec-helper-a98655ecfa485b52f2e1f40f31d919a5f67de84e.zip
Don't compress whatis and dir in /usr/{info|man}.
Diffstat (limited to 'compress_files')
-rwxr-xr-xcompress_files2
1 files changed, 1 insertions, 1 deletions
diff --git a/compress_files b/compress_files
index 37f5c35..eb437cf 100755
--- a/compress_files
+++ b/compress_files
@@ -111,7 +111,7 @@ foreach $sofile (@sofiles) {
system "ln","-sf",$sodest,$sofile;
}
-push @files, split(/\n/,`find usr/info usr/share/info usr/man usr/share/man usr/X11*/man usr/lib/perl5/man -type f ! -name "*.gz" -a ! -name "*.bz2" 2>/dev/null || true`);
+push @files, split(/\n/,`find usr/info usr/share/info usr/man usr/share/man usr/X11*/man usr/lib/perl5/man -type f ! -name "*.gz" -a ! -name "*.bz2" ! -name 'dir' ! -name 'whatis' 2>/dev/null || true`);
# Exclude files from compression.
if (@files && defined($ENV{EXCLUDE_FROM_COMPRESS})) {