Ticket #3240: mc-4.8.12-urar.in.patch

File mc-4.8.12-urar.in.patch, 419 bytes (added by darek, 6 years ago)

Patch to RAR VFS

  • src/vfs/extfs/helpers/urar.in

    old new  
    2222[ ! -x $UNRAR -a -x $RAR ] && UNRAR=$RAR 
    2323 
    2424# Define $UNRAR version 
    25 UNRAR_VERSION=`$UNRAR -? | grep "Copyright" | sed -e 's/.*\([0-9]\)\..*/\1/'` 
     25UNRAR_VERSION=`$UNRAR -cfg- -? | grep "Copyright" | sed -e 's/.*\([0-9]\)\..*/\1/'` 
    2626 
    2727mcrar4fs_list () 
    2828{