Ticket #2857: mc-4.8.4-zip.patch

File mc-4.8.4-zip.patch, 416 bytes (added by ctmp1, 12 years ago)

replace type with regex in mc.ext

  • misc/mc.ext.in

    diff -ru mc/misc/mc.ext.in mc_/misc/mc.ext.in
    mc mc_  
    639639        Extract (with flags)=I=%{Enter any Arc flags:}; if test -n "$I"; then arc x $I %f; fi 
    640640 
    641641# zip 
    642 type/^([Zz][Ii][Pp])\ archive 
     642regex/\.([Zz][Ii][Pp])$ 
    643643        Open=%cd %p/uzip:// 
    644644        View=%view{ascii} @EXTHELPERSDIR@/archive.sh view zip 
    645645