diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-11-08 02:29:20 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-11-08 02:29:20 +0000 |
commit | f17e3fb451b76e013a80a8c1bfd320d4c637a64b (patch) | |
tree | 034a027ae08630551902fa2c9dbaba307fc414d2 /sys-apps/less/files | |
parent | add more packages and remove dead ones (diff) | |
download | gentoo-2-f17e3fb451b76e013a80a8c1bfd320d4c637a64b.tar.gz gentoo-2-f17e3fb451b76e013a80a8c1bfd320d4c637a64b.tar.bz2 gentoo-2-f17e3fb451b76e013a80a8c1bfd320d4c637a64b.zip |
add detection for tar files
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'sys-apps/less/files')
-rw-r--r-- | sys-apps/less/files/lesspipe.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys-apps/less/files/lesspipe.sh b/sys-apps/less/files/lesspipe.sh index 7ee5f87d60f1..a34827c5f5e7 100644 --- a/sys-apps/less/files/lesspipe.sh +++ b/sys-apps/less/files/lesspipe.sh @@ -19,6 +19,7 @@ lesspipe_file() { local out=$(file -L -- "$1") case ${out} in *" ar archive"*) lesspipe "$1" ".a" ;; + *" tar archive"*) lesspipe "$1" ".tar" ;; *" CAB-Installer"*) lesspipe "$1" ".cab" ;; *" troff "*) lesspipe "$1" ".man" ;; *" shared object"*) lesspipe "$1" ".so" ;; |