mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 10:04:32 +03:00
Ticket #2739: add support of PAR archives.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
parent
72db209691
commit
c44aabebe7
@ -128,6 +128,9 @@ do_open_action() {
|
|||||||
xz)
|
xz)
|
||||||
xz -dc "${MC_EXT_FILENAME}" | ${pager}
|
xz -dc "${MC_EXT_FILENAME}" | ${pager}
|
||||||
;;
|
;;
|
||||||
|
par2)
|
||||||
|
par2 r "${MC_EXT_FILENAME}"
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
@ -726,6 +726,10 @@ regex/\.xz$
|
|||||||
Open=@EXTHELPERSDIR@/archive.sh view xz %var{PAGER:more}
|
Open=@EXTHELPERSDIR@/archive.sh view xz %var{PAGER:more}
|
||||||
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view xz
|
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view xz
|
||||||
|
|
||||||
|
# Parity Archive
|
||||||
|
type/^Parity\ Archive\ Volume\ Set
|
||||||
|
Open=@EXTHELPERSDIR@/archive.sh open par2
|
||||||
|
|
||||||
### Default ###
|
### Default ###
|
||||||
|
|
||||||
# Default target for anything not described above
|
# Default target for anything not described above
|
||||||
|
Loading…
Reference in New Issue
Block a user