SOURCES: lesspipe.sh - recognize *.CAB (uppercase)

glen glen at pld-linux.org
Thu Aug 7 12:40:53 CEST 2008


Author: glen                         Date: Thu Aug  7 10:40:53 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- recognize *.CAB (uppercase)

---- Files affected:
SOURCES:
   lesspipe.sh (1.29 -> 1.30) 

---- Diffs:

================================================================
Index: SOURCES/lesspipe.sh
diff -u SOURCES/lesspipe.sh:1.29 SOURCES/lesspipe.sh:1.30
--- SOURCES/lesspipe.sh:1.29	Mon Jan 21 17:25:09 2008
+++ SOURCES/lesspipe.sh	Thu Aug  7 12:40:48 2008
@@ -58,7 +58,7 @@
 	*.rpm) rpm -qpivl --changelog -- "$1" ;;
 	*.rar) unrar -p- l -- "$1" ;;
 	*.cpi|*.cpio) cpio -itv < "$1" ;;
-	*.cab) cabextract -l -- "$1" ;;
+	*.cab|*.CAB) cabextract -l -- "$1" ;;
 	*.deb) dpkg -c "$1" ;;
 	# .war could be Zip (limewire) or tar.gz file (konqueror web archives)
 	*.war) 7z l "$1" || unzip -l "$1" || tar tzvvf "$1" ;;
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/lesspipe.sh?r1=1.29&r2=1.30&f=u



More information about the pld-cvs-commit mailing list