]> git.pld-linux.org Git - packages/less.git/commitdiff
- mozilla *.xpi are zip files
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 10 May 2007 08:55:13 +0000 (08:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    lesspipe.sh -> 1.23

lesspipe.sh

index a0f1ca6a0a6be5dab257fb1d6b03c9f3f0918145..1f815a2dc421820f0403122a4b602b277a4df256 100644 (file)
@@ -33,7 +33,7 @@ lesspipe() {
        *.bz) bzip -dc -- "$1" ;;
        *.bz2) bzip2 -dc -- "$1" ;;
        *.lzma) lzma d -so -- "$1" ;;
-       *.zip|*.jar) 7z l "$1" || unzip -l "$1" ;;
+       *.zip|*.jar|*.xpi) 7z l "$1" || unzip -l "$1" ;;
        *.rpm) rpm -qpivl --changelog -- "$1" ;;
        *.rar) unrar -p- l -- "$1" ;;
        *.cpi|*.cpio) cpio -itv < "$1" ;;
This page took 0.134051 seconds and 4 git commands to generate.