From: Timo Sirainen Date: Fri, 5 Aug 2011 09:07:48 +0000 (+0300) Subject: fts: decode2text.sh now ignores any errors from doc/xls/ppt decoders. X-Git-Tag: 2.1.alpha1~167 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a9f9c80e627204513fdad8e4caab08c7993cb646;p=thirdparty%2Fdovecot%2Fcore.git fts: decode2text.sh now ignores any errors from doc/xls/ppt decoders. --- diff --git a/src/plugins/fts/decode2text.sh b/src/plugins/fts/decode2text.sh index 77761f77b8..c457b6fb64 100755 --- a/src/plugins/fts/decode2text.sh +++ b/src/plugins/fts/decode2text.sh @@ -74,11 +74,11 @@ export LANG if [ $fmt = "pdf" ]; then /usr/bin/pdftotext $path - elif [ $fmt = "doc" ]; then - /usr/bin/catdoc $path + /usr/bin/catdoc $path 2>/dev/null elif [ $fmt = "ppt" ]; then - /usr/bin/catppt $path + /usr/bin/catppt $path 2>/dev/null elif [ $fmt = "xls" ]; then - /usr/bin/xls2csv $path + /usr/bin/xls2csv $path 2>/dev/null elif [ $fmt = "odt" -o $fmt = "ods" -o $fmt = "odp" ]; then xmlunzip "content.xml" elif [ $fmt = "docx" ]; then