* lib/mc.ext.in: Enhancement to open and view .deba and .debd

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
This commit is contained in:
Mikhail S. Pobolovets 2009-04-16 23:06:35 +03:00
parent dad20be942
commit 9e325ad1b0
1 changed files with 9 additions and 0 deletions

View File

@ -224,6 +224,15 @@ regex/\.u?deb$
Open=%cd %p#deb
View=%view{ascii} dpkg-deb -I %f && echo && dpkg-deb -c %f
# dpkg
shell/.debd
Open=%cd %p#debd
View=%view{ascii} dpkg -s `echo %p | sed 's/\([0-9a-z.-]*\).*/\1/'`
# apt
shell/.deba
Open=%cd %p#deba
View=%view{ascii} apt-cache show `echo %p | sed 's/\([0-9a-z.-]*\).*/\1/'`
# ISO9660
regex/\.iso$
Open=%cd %p#iso9660