* lib/mc.ext.in: Use "type" to recognize zip and lha archives.

This commit is contained in:
Pavel Roskin 2001-11-29 21:27:55 +00:00
parent acbe83ef9c
commit bfb469435d
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2001-11-29 Pavel Roskin <proski@gnu.org>
* lib/mc.ext.in: Use "type" to recognize zip and lha archives.
2001-11-27 Pavel Roskin <proski@gnu.org>
* lib/mc.ext.in: When running X programs in background, do it

View File

@ -418,7 +418,7 @@ regex/\.(tar|TAR)$
Extract=tar xf %f
# zip
regex/\.(zip|ZIP|jar|JAR)$
type/^Zip\ archive
Open=%cd %p#uzip
View=%view{ascii} unzip -v %f
Extract=unzip %f
@ -432,7 +432,7 @@ regex/\.(zoo|ZOO)$
Extract=zoo x %f '*'
# lha
regex/\.(lha|LHA|lzh|LZH)$
type/^LHa\ .*archive
Open=%cd %p#ulha
View=%view{ascii} lharc l %f
Extract=lharc x %f '*'