diff options
author | 2011-12-07 20:29:25 +0000 | |
---|---|---|
committer | 2011-12-07 20:29:25 +0000 | |
commit | 84569bb23129349f02e5d9fe85ef28db709f3c21 (patch) | |
tree | 2ee92972d4f13c7db2e3ce85cbdfb78bd517ed85 /sys-apps/less/files | |
parent | Remove old (diff) | |
download | gentoo-2-84569bb23129349f02e5d9fe85ef28db709f3c21.tar.gz gentoo-2-84569bb23129349f02e5d9fe85ef28db709f3c21.tar.bz2 gentoo-2-84569bb23129349f02e5d9fe85ef28db709f3c21.zip |
Also check for `7zr` when processing 7z archives.
(Portage version: 2.2.0_alpha79/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/less/files')
-rw-r--r-- | sys-apps/less/files/lesspipe.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-apps/less/files/lesspipe.sh b/sys-apps/less/files/lesspipe.sh index 4fc04acec660..c27ff0583f11 100644 --- a/sys-apps/less/files/lesspipe.sh +++ b/sys-apps/less/files/lesspipe.sh @@ -123,7 +123,7 @@ lesspipe() { *.cab) cabextract -l -- "$1" ;; *.lha|*.lzh) lha v "$1" ;; *.zoo) zoo -list "$1" || unzoo -l "$1" ;; - *.7z|*.exe) 7z l -- "$1" || 7za l -- "$1" ;; + *.7z|*.exe) 7z l -- "$1" || 7za l -- "$1" || 7zr l -- "$1" ;; *.a) ar tv "$1" ;; *.elf) readelf -a -- "$1" ;; *.so) readelf -h -d -s -- "$1" ;; @@ -233,7 +233,7 @@ if [[ -z $1 ]] ; then elif [[ $1 == "-V" || $1 == "--version" ]] ; then Id="cvsid" cat <<-EOF - $Id: lesspipe.sh,v 1.46 2011/10/09 19:19:07 vapier Exp $ + $Id: lesspipe.sh,v 1.47 2011/12/07 20:29:25 vapier Exp $ Copyright 2001-2010 Gentoo Foundation Mike Frysinger <vapier@gentoo.org> (with plenty of ideas stolen from other projects/distros) |