Author: glen                         Date: Sat Apr 22 14:03:25 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- add *.war

---- Files affected:
SOURCES:
   lesspipe.sh (1.19 -> 1.20) 

---- Diffs:

================================================================
Index: SOURCES/lesspipe.sh
diff -u SOURCES/lesspipe.sh:1.19 SOURCES/lesspipe.sh:1.20
--- SOURCES/lesspipe.sh:1.19    Sat Mar 25 14:37:06 2006
+++ SOURCES/lesspipe.sh Sat Apr 22 16:03:20 2006
@@ -37,6 +37,8 @@
        *.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" ;;
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/lesspipe.sh?r1=1.19&r2=1.20&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to