diff options
Diffstat (limited to 'compress_files')
-rwxr-xr-x | compress_files | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compress_files b/compress_files index eb437cf..2112765 100755 --- a/compress_files +++ b/compress_files @@ -113,6 +113,9 @@ foreach $sofile (@sofiles) { 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`); +push @gz_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" 2>/dev/null || true`); +if (@gz_files) {xargs(\@gz_files,"gzip", "-d"); $? ? die "Something wrong with the decompression of the gzip man/info file, fix this ASAP" : exec($0);} + # Exclude files from compression. if (@files && defined($ENV{EXCLUDE_FROM_COMPRESS})) { @new=(); |