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
commit2f8a8a2646d238725d137497e2db40c5185128ef (patch)
treed25299421ea88598ced4ab441a1e1522b7dee2ed /sys-apps/less
parentUpdate glazedlists dep to reflect java5 flag removal. (diff)
downloadhistorical-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.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