From 52519d6d7c957393f4f3a11752c3994e4bb901ba Mon Sep 17 00:00:00 2001 From: dockes Date: Thu, 10 Nov 2005 08:46:15 +0000 Subject: [PATCH] add .Z compressed files --- src/sampleconf/mimeconf | 4 ++-- src/sampleconf/mimemap | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/sampleconf/mimeconf b/src/sampleconf/mimeconf index 86713020..6040a2b8 100644 --- a/src/sampleconf/mimeconf +++ b/src/sampleconf/mimeconf @@ -1,4 +1,4 @@ -# @(#$Id: mimeconf,v 1.6 2005-04-04 13:18:47 dockes Exp $ (C) 2004 J.F.Dockes +# @(#$Id: mimeconf,v 1.7 2005-11-10 08:46:15 dockes Exp $ (C) 2004 J.F.Dockes # Recoll : associations of mime types to processing filters. # There are different sections for decompression, 'interning' for indexing @@ -17,7 +17,7 @@ # The script (ie: rcluncomp) must output the uncompressed file name on # stdout. application/x-gzip = uncompress rcluncomp gunzip %f %t -application/x-gzip = uncompress rcluncomp gunzip %f %t +application/x-compress = uncompress rcluncomp gunzip %f %t application/x-bzip2 = uncompress rcluncomp bunzip2 %f %t ## diff --git a/src/sampleconf/mimemap b/src/sampleconf/mimemap index bb047d72..fad30f4a 100644 --- a/src/sampleconf/mimemap +++ b/src/sampleconf/mimemap @@ -1,4 +1,4 @@ -# @(#$Id: mimemap,v 1.6 2005-11-09 21:40:02 dockes Exp $ (C) 2004 J.F.Dockes +# @(#$Id: mimemap,v 1.7 2005-11-10 08:46:14 dockes Exp $ (C) 2004 J.F.Dockes # Recoll: associations of file name extensions to mime types .txt = text/plain @@ -19,6 +19,7 @@ .gz = application/x-gzip .Z = application/x-gzip .bz2 = application/x-bzip2 +.Z = application/x-compress .doc = application/msword @@ -41,7 +42,7 @@ # A list of stuff that we don't want to touch at all (for now). Having the # suffixes listed in there speeds up things quite a lot by avoiding # unneeded decompression or 'file' calls -recoll_noindex = .tar.gz .tgz .tar.bz2 .tbz .md5 .map \ +recoll_noindex = .tar.gz .tgz .tar.bz2 .tbz .log.gz .md5 .map \ .c .h .cpp .m4 .tcl .js .sh .pl .awk .php .php3 \ .o .lib .dll .a \ .dat .bak .rdf .log .db .ini .msf \