Ticket #92: 7zip-ext-add.patch

File 7zip-ext-add.patch, 989 bytes (added by slavazanko, 16 years ago)
  • lib/mc.ext.in

    #
    # Adds 7zip extfs descriptor
    #
    # Source:	Gentoo Portage
    # Reference:	mc-4.6.1
    # Submit-By:	Enrico Weigelt, metux IT service <weigelt metux de>
    # Submit-Date:	2008-12-26
    # State:	new
    #
    diff -ruN mc-4.6.1.orig/lib/mc.ext.in mc-4.6.1/lib/mc.ext.in
    old new  
    246246shell/.info 
    247247   Open=info -f %f 
    248248 
     249# 7-Zip, Needs to be before manual page definitions 
     250regex/\.(7z|7Z)$ 
     251        View=%view{ascii} 7za l %f 2>/dev/null 
     252        Open=%cd %p#u7z 
     253 
     254 
    249255# Manual page 
    250256# Exception - .so libraries are not manual pages 
    251257regex/\.(so|so\.[0-9\.]*)$ 
  • vfs/extfs/extfs.ini

    diff -ruN mc-4.6.1.orig/vfs/extfs/extfs.ini mc-4.6.1/vfs/extfs/extfs.ini
    old new  
    77ulha 
    88urar 
    99uha 
     10u7z 
    1011# For arj usage you need a special patch to unarj (see unarj.diff) 
    1112uarj