From 17433c858961c0cd3e34fa98ecf32b703f62b175 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 18 Jan 2011 20:26:13 +0000 Subject: also call new torrentinfo #351426 by Raphaƫl Vinot MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (Portage version: 2.2.0_alpha13/cvs/Linux x86_64) --- sys-apps/less/files/lesspipe.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys-apps/less') 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 (with plenty of ideas stolen from other projects/distros) -- cgit v1.2.3-65-gdbad