Recognize "Java archive data (JAR)" as zip archive.

The 'file' utility determine the file type differently:

till file-5.16 - Java Jar file data (zip)
since file-5.17 - Java archive data (JAR)

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andreas Köhler 2014-06-14 16:03:23 +02:00 committed by Andrew Borodin
parent e9c5fb3048
commit 95f97b73d1

View File

@ -691,7 +691,7 @@ type/i/^zip\ archive
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view zip
# jar(zip)
type/i/^Java\ Jar\ file\ data\ \(zip\)
type/i/^Java\ (Jar\ file|archive)\ data\ \((zip|JAR)\)
Open=%cd %p/uzip://
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view zip