summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-02-10 23:56:59 +0000
committerMike Frysinger <vapier@gentoo.org>2010-02-10 23:56:59 +0000
commit10eab0b8e7d1a46dfb495c4b8bd843b752ed3e13 (patch)
treed310c95d146689e936ca2cdaefff03d459d2b300 /sys-apps/less
parentUpdate glazedlists dep to reflect java5 flag removal. (diff)
downloadgentoo-2-10eab0b8e7d1a46dfb495c4b8bd843b752ed3e13.tar.gz
gentoo-2-10eab0b8e7d1a46dfb495c4b8bd843b752ed3e13.tar.bz2
gentoo-2-10eab0b8e7d1a46dfb495c4b8bd843b752ed3e13.zip
many packed exe's can be viewed/unpacked with 7z
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/less')
-rw-r--r--sys-apps/less/files/lesspipe.sh4
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