]> git.pld-linux.org Git - packages/less.git/commitdiff
- add *.war
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 22 Apr 2006 14:03:20 +0000 (14:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    lesspipe.sh -> 1.20

lesspipe.sh

index c0ead66ee8dcc2e8439b301e004b2deeccdffbf2..96af1739e332e6a8fcb52f8ec899050535e42cbf 100644 (file)
@@ -37,6 +37,8 @@ lesspipe() {
        *.rpm) rpm -qpivl --changelog -- "$1" ;;
        *.rar) unrar -p- l -- "$1" ;;
        *.cpi|*.cpio) cpio -itv < "$1" ;;
+       # .war could be Zip (limewire) or tar.gz file (konqueror web archives)
+       *.war) 7z l "$1" || unzip -l "$1" || tar tzvvf "$1" ;;
        # SSL certs
        *.csr) openssl req -noout -text -in "$1" ;;
        *.crl) openssl crl -noout -text -in "$1" ;;
This page took 0.04142 seconds and 4 git commands to generate.