Ticket #2847: use unrar to view RAR archives if rar is unavailable.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2012-08-09 16:44:11 +04:00
parent 85a2e70c46
commit 77105e3233

View File

@ -173,7 +173,7 @@ regex/\.([Hh][Aa])$
# rar
regex/\.[rR]([aA][rR]|[0-9][0-9])$
Open=%cd %p/urar://
View=%view{ascii} rar v -c- %f
View=%view{ascii} rar v -c- %f 2>/dev/null || unrar v -c- %f
# ALZip
regex/\.(alz|ALZ)$