View | Details | Raw Unified | Return to bug 205231 | Differences between
and this patch

Collapse All | Expand All

(-)decode2text.sh (-4 / +4 lines)
Lines 79-94 Link Here
79
LANG=en_US.UTF-8
79
LANG=en_US.UTF-8
80
export LANG
80
export LANG
81
if [ $fmt = "pdf" ]; then
81
if [ $fmt = "pdf" ]; then
82
  /usr/bin/pdftotext $path - 2>/dev/null&
82
  /usr/local/bin/pdftotext $path - 2>/dev/null&
83
  wait_timeout 2>/dev/null
83
  wait_timeout 2>/dev/null
84
elif [ $fmt = "doc" ]; then
84
elif [ $fmt = "doc" ]; then
85
  (/usr/bin/catdoc $path; true) 2>/dev/null&
85
  (/usr/local/bin/catdoc $path; true) 2>/dev/null&
86
  wait_timeout 2>/dev/null
86
  wait_timeout 2>/dev/null
87
elif [ $fmt = "ppt" ]; then
87
elif [ $fmt = "ppt" ]; then
88
  (/usr/bin/catppt $path; true) 2>/dev/null&
88
  (/usr/local/bin/catppt $path; true) 2>/dev/null&
89
  wait_timeout 2>/dev/null
89
  wait_timeout 2>/dev/null
90
elif [ $fmt = "xls" ]; then
90
elif [ $fmt = "xls" ]; then
91
  (/usr/bin/xls2csv $path; true) 2>/dev/null&
91
  (/usr/local/bin/xls2csv $path; true) 2>/dev/null&
92
  wait_timeout 2>/dev/null
92
  wait_timeout 2>/dev/null
93
elif [ $fmt = "odt" -o $fmt = "ods" -o $fmt = "odp" ]; then
93
elif [ $fmt = "odt" -o $fmt = "ods" -o $fmt = "odp" ]; then
94
  xmlunzip "content.xml"
94
  xmlunzip "content.xml"

Return to bug 205231