Ticket #1452: mc-tbz2.patch

File mc-tbz2.patch, 369 bytes (added by ijabbott, 15 years ago)

Patch misc/mc.ext.in to recognize .tbz2 files

  • misc/mc.ext.in

    diff --git a/misc/mc.ext.in b/misc/mc.ext.in
    index ba96588..aed398d 100644
    a b regex/\.tar\.bz$ 
    115115        # Open=%cd %p#utar 
    116116        View=%view{ascii} bzip -dc %f 2>/dev/null | tar tvvf - 
    117117 
    118 regex/\.t(ar\.bz2|bz|b2)$ 
     118regex/\.t(ar\.bz2|bz2?|b2)$ 
    119119        Open=%cd %p#utar 
    120120        View=%view{ascii} bzip2 -dc %f 2>/dev/null | tar tvvf - 
    121121