diff --git a/misc/ext.d/archive.sh b/misc/ext.d/archive.sh index 0526f54bb..b533f0557 100644 --- a/misc/ext.d/archive.sh +++ b/misc/ext.d/archive.sh @@ -128,6 +128,9 @@ do_open_action() { xz) xz -dc "${MC_EXT_FILENAME}" | ${pager} ;; + par2) + par2 r "${MC_EXT_FILENAME}" + ;; *) ;; esac diff --git a/misc/mc.ext.in b/misc/mc.ext.in index 0229fcb80..c8661c803 100644 --- a/misc/mc.ext.in +++ b/misc/mc.ext.in @@ -726,6 +726,10 @@ regex/\.xz$ Open=@EXTHELPERSDIR@/archive.sh view xz %var{PAGER:more} View=%view{ascii} @EXTHELPERSDIR@/archive.sh view xz +# Parity Archive +type/^Parity\ Archive\ Volume\ Set + Open=@EXTHELPERSDIR@/archive.sh open par2 + ### Default ### # Default target for anything not described above