Ticket #2890: make a choice between archivers for 7z.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2012-10-08 15:20:36 +04:00
parent 2120c32b5a
commit d1779a895d

View File

@ -87,7 +87,9 @@ do_view_action() {
cpio -itv < "${MC_EXT_FILENAME}" 2>/dev/null cpio -itv < "${MC_EXT_FILENAME}" 2>/dev/null
;; ;;
7z) 7z)
7za l "${MC_EXT_FILENAME}" 2>/dev/null 7za l "${MC_EXT_FILENAME}" 2>/dev/null ||
7z l "${MC_EXT_FILENAME}"
;; ;;
ace) ace)
unace l "${MC_EXT_FILENAME}" unace l "${MC_EXT_FILENAME}"