summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-10-30 04:46:50 +0000
committerMike Frysinger <vapier@gentoo.org>2005-10-30 04:46:50 +0000
commit34e6bd8038e0ca4f498563d6e4d180d5e1ad331b (patch)
tree4421c1edb06ac7f7116e30128fae19eb0182a233 /sys-apps/less
parentUpdated i18n-misc patch to 20051010. Removed old ebuilds. (diff)
downloadgentoo-2-34e6bd8038e0ca4f498563d6e4d180d5e1ad331b.tar.gz
gentoo-2-34e6bd8038e0ca4f498563d6e4d180d5e1ad331b.tar.bz2
gentoo-2-34e6bd8038e0ca4f498563d6e4d180d5e1ad331b.zip
add LHA to the file detection list
Diffstat (limited to 'sys-apps/less')
-rw-r--r--sys-apps/less/files/lesspipe.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys-apps/less/files/lesspipe.sh b/sys-apps/less/files/lesspipe.sh
index 98bf1dd42a09..7ee5f87d60f1 100644
--- a/sys-apps/less/files/lesspipe.sh
+++ b/sys-apps/less/files/lesspipe.sh
@@ -23,6 +23,7 @@ lesspipe_file() {
*" troff "*) lesspipe "$1" ".man" ;;
*" shared object"*) lesspipe "$1" ".so" ;;
*" Zip archive"*) lesspipe "$1" ".zip" ;;
+ *" LHa"*archive*) lesspipe "$1" ".lha" ;;
*" ELF "*) readelf -a -- "$1" ;;
*": data") hexdump -C -- "$1" ;;
*) return 1 ;;