From 95b1f6c272ec99c02e55916e2ab98e1d32515b68 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 24 Apr 2007 07:40:31 +0000 Subject: [PATCH] handle torrents Package-Manager: portage-2.1.2.4 --- sys-apps/less/files/lesspipe.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys-apps/less/files/lesspipe.sh b/sys-apps/less/files/lesspipe.sh index 878ede32a743..e8c8d4207f7a 100644 --- a/sys-apps/less/files/lesspipe.sh +++ b/sys-apps/less/files/lesspipe.sh @@ -127,6 +127,7 @@ lesspipe() { *.flac) metaflac --list "$1" ;; *.iso) isoinfo -d -i "$1" ; isoinfo -l -i "$1" ;; *.bin|*.cue) cd-info --no-header --no-device-info "$1" ;; + *.torrent) torrentinfo-console "$1" ;; ### Source code ### *.awk|*.groff|*.java|*.js|*.m4|*.php|*.pl|*.pm|*.pod|*.sh|\ @@ -193,7 +194,7 @@ if [[ -z $1 ]] ; then echo "Usage: lesspipe.sh " elif [[ $1 == "-V" ]] ; then Id="cvsid" - cvsid="$Id: lesspipe.sh,v 1.21 2007/01/18 03:06:58 vapier Exp $" + cvsid="$Id: lesspipe.sh,v 1.22 2007/04/24 07:40:31 vapier Exp $" cat <<-EOF $cvsid Copyright 2001-2006 Gentoo Foundation -- 2.26.2