summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-01-18 20:26:13 +0000
committerMike Frysinger <vapier@gentoo.org>2011-01-18 20:26:13 +0000
commit17433c858961c0cd3e34fa98ecf32b703f62b175 (patch)
treefeb8c8d26051ea2dfe1b1879c64c7ab6616d2250 /sys-apps/less
parentPunt IUSE=xinetd since we don't check it #351853 by Dean Matzkov. Update to ... (diff)
downloadgentoo-2-17433c858961c0cd3e34fa98ecf32b703f62b175.tar.gz
gentoo-2-17433c858961c0cd3e34fa98ecf32b703f62b175.tar.bz2
gentoo-2-17433c858961c0cd3e34fa98ecf32b703f62b175.zip
also call new torrentinfo #351426 by Raphaël Vinot
(Portage version: 2.2.0_alpha13/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 c14e50b58d52..8bbf67678262 100644
--- a/sys-apps/less/files/lesspipe.sh
+++ b/sys-apps/less/files/lesspipe.sh
@@ -158,7 +158,7 @@ lesspipe() {
*.mp3) mp3info "$1" || id3info "$1" ;;
*.ogg) ogginfo "$1" ;;
*.flac) metaflac --list "$1" ;;
- *.torrent) torrentinfo-console "$1" || ctorrent -x "$1" ;;
+ *.torrent) torrentinfo "$1" || torrentinfo-console "$1" || ctorrent -x "$1" ;;
*.bin|*.cue|*.raw)
# not all .bin/.raw files are cd images, so fall back to hexdump
cd-info --no-header --no-device-info "$1" || lesspipe_file "$1"
@@ -235,7 +235,7 @@ if [[ -z $1 ]] ; then
elif [[ $1 == "-V" || $1 == "--version" ]] ; then
Id="cvsid"
cat <<-EOF
- $Id: lesspipe.sh,v 1.43 2010/12/31 20:52:17 vapier Exp $
+ $Id: lesspipe.sh,v 1.44 2011/01/18 20:26:13 vapier Exp $
Copyright 2001-2010 Gentoo Foundation
Mike Frysinger <vapier@gentoo.org>
(with plenty of ideas stolen from other projects/distros)