From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LGRKb-0002vc-LH for garchives@archives.gentoo.org; Sat, 27 Dec 2008 05:03:21 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 15A5FE0406; Sat, 27 Dec 2008 05:03:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id D8AA5E0406 for ; Sat, 27 Dec 2008 05:03:19 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 7B15664723 for ; Sat, 27 Dec 2008 05:03:19 +0000 (UTC) Received: from vapier by stork.gentoo.org with local (Exim 4.69) (envelope-from ) id 1LGRKY-0000ac-Ux for gentoo-commits@lists.gentoo.org; Sat, 27 Dec 2008 05:03:19 +0000 From: "Mike Frysinger (vapier)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, vapier@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/less/files: lesspipe.sh X-VCS-Repository: gentoo-x86 X-VCS-Files: lesspipe.sh X-VCS-Directories: sys-apps/less/files X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger Content-Type: text/plain; charset=utf8 Message-Id: Sender: Mike Frysinger Date: Sat, 27 Dec 2008 05:03:18 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: f4e9df29-08cd-4a95-9b0a-c8533cc397a3 X-Archives-Hash: 1ae7c69a9b26512c4ebdfdcee95c31c0 vapier 08/12/27 05:03:18 Modified: lesspipe.sh Log: fall back to ctorrent if torrentinfo-console doesnt exist (Portage version: 2.2_rc18/cvs/Linux 2.6.28 x86_64) Revision Changes Path 1.31 sys-apps/less/files/lesspipe.sh file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/less/file= s/lesspipe.sh?rev=3D1.31&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/less/file= s/lesspipe.sh?rev=3D1.31&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/less/file= s/lesspipe.sh?r1=3D1.30&r2=3D1.31 Index: lesspipe.sh =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/sys-apps/less/files/lesspipe.sh,v retrieving revision 1.30 retrieving revision 1.31 diff -u -r1.30 -r1.31 --- lesspipe.sh 30 May 2008 23:54:10 -0000 1.30 +++ lesspipe.sh 27 Dec 2008 05:03:18 -0000 1.31 @@ -148,7 +148,7 @@ *.mp3) mp3info "$1" || id3info "$1" ;; *.ogg) ogginfo "$1" ;; *.flac) metaflac --list "$1" ;; - *.torrent) torrentinfo-console "$1" ;; + *.torrent) 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" @@ -230,7 +230,7 @@ echo "Usage: lesspipe.sh " elif [[ $1 =3D=3D "-V" || $1 =3D=3D "--version" ]] ; then Id=3D"cvsid" - cvsid=3D"$Id: lesspipe.sh,v 1.30 2008/05/30 23:54:10 vapier Exp $" + cvsid=3D"$Id: lesspipe.sh,v 1.31 2008/12/27 05:03:18 vapier Exp $" cat <<-EOF $cvsid Copyright 2001-2008 Gentoo Foundation