diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-02-10 23:56:59 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-02-10 23:56:59 +0000 |
commit | 2f8a8a2646d238725d137497e2db40c5185128ef (patch) | |
tree | d25299421ea88598ced4ab441a1e1522b7dee2ed /sys-apps/less | |
parent | Update glazedlists dep to reflect java5 flag removal. (diff) | |
download | historical-2f8a8a2646d238725d137497e2db40c5185128ef.tar.gz historical-2f8a8a2646d238725d137497e2db40c5185128ef.tar.bz2 historical-2f8a8a2646d238725d137497e2db40c5185128ef.zip |
many packed exe's can be viewed/unpacked with 7z
Package-Manager: portage-2.2_rc61/cvs/Linux x86_64
Diffstat (limited to 'sys-apps/less')
-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 0a0f6556a8a5..948075808b8c 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) 7z l -- "$1" || 7za l -- "$1" ;; + *.7z|*.exe) 7z l -- "$1" || 7za l -- "$1" ;; *.a) ar tv "$1" ;; *.elf) readelf -a -- "$1" ;; *.so) readelf -h -d -s -- "$1" ;; @@ -235,7 +235,7 @@ if [[ -z $1 ]] ; then echo "Usage: lesspipe.sh <file>" elif [[ $1 == "-V" || $1 == "--version" ]] ; then Id="cvsid" - cvsid="$Id: lesspipe.sh,v 1.37 2010/02/05 06:36:59 vapier Exp $" + cvsid="$Id: lesspipe.sh,v 1.38 2010/02/10 23:56:59 vapier Exp $" cat <<-EOF $cvsid Copyright 2001-2009 Gentoo Foundation |