From 9e325ad1b0dceb0df6b69f983c0f0c4b87cc204c Mon Sep 17 00:00:00 2001 From: "Mikhail S. Pobolovets" Date: Thu, 16 Apr 2009 23:06:35 +0300 Subject: [PATCH] * lib/mc.ext.in: Enhancement to open and view .deba and .debd Signed-off-by: Mikhail S. Pobolovets --- misc/mc.ext.in | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/misc/mc.ext.in b/misc/mc.ext.in index 86fc7ff48..8d333b674 100644 --- a/misc/mc.ext.in +++ b/misc/mc.ext.in @@ -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 -- 2.11.4.GIT