Ticket #2890: make a choice between archivers for arj.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
Slava Zanko 2012-10-05 13:12:55 +03:00 committed by Andrew Borodin
parent 98a1acbf8e
commit 2120c32b5a

View File

@ -59,7 +59,8 @@ do_view_action() {
lha l "${MC_EXT_FILENAME}"
;;
arj)
unarj l "${MC_EXT_FILENAME}"
arj l "${MC_EXT_FILENAME}" 2>/dev/null || \
unarj l "${MC_EXT_FILENAME}"
;;
cab)
cabextract -l "${MC_EXT_FILENAME}"