ranger: Fix garbled scope

master
Pierre Neidhardt 2014-07-02 19:36:59 +02:00
parent 2bb126dc80
commit b462c1f30b
1 changed files with 9 additions and 8 deletions

View File

@ -75,8 +75,9 @@ case "$extension" in
mkv)
try mediainfo "$path" && { dump | sed 's/ \+:/: /;' | trim | fmt -s -w $width; exit 4; } ;;
doc)
try antiword "$path" && { dump | trim | fmt -s -w $width; exit 0; } || exit 1;;
try antiword "$path" && { dump | trim | fmt -s -w $width; exit 0; }
try catdoc "$path" && { dump | trim | fmt -s -w $width; exit 0; }
exit 1;;
docx)
try docx2txt.pl "$path" - && { dump | trim | fmt -s -w $width; exit 0; }
try catdoc "$path" && { dump | trim | fmt -s -w $width; exit 0; }