Ticket #4180: fix handling of zip archives.

After 8857423e4e due to
using "file -z", zip archves w/o ".zip" file name extension
(i.e. "ff_ext.xpi", a Firefox extension) aren't handled
as zip archives.

misc/mc.ext.in: fix regular expression for zip format.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2021-01-23 21:10:04 +03:00
parent a88a626e76
commit 7881ed2fda

View File

@ -751,7 +751,7 @@ shell/i/.zip
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view zip View=%view{ascii} @EXTHELPERSDIR@/archive.sh view zip
# zip # zip
type/i/^zip\ archive type/\(Zip archive
Open=%cd %p/uzip:// Open=%cd %p/uzip://
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view zip View=%view{ascii} @EXTHELPERSDIR@/archive.sh view zip