From: | "Mike Frysinger (vapier)" <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-apps/less/files: lesspipe.sh |
Date: | Sat, 27 Dec 2008 05:03:21 |
Message-Id: | E1LGRKY-0000ac-Ux@stork.gentoo.org |
1 | vapier 08/12/27 05:03:18 |
2 | |
3 | Modified: lesspipe.sh |
4 | Log: |
5 | fall back to ctorrent if torrentinfo-console doesnt exist |
6 | (Portage version: 2.2_rc18/cvs/Linux 2.6.28 x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.31 sys-apps/less/files/lesspipe.sh |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/less/files/lesspipe.sh?rev=1.31&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/less/files/lesspipe.sh?rev=1.31&content-type=text/plain |
13 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/less/files/lesspipe.sh?r1=1.30&r2=1.31 |
14 | |
15 | Index: lesspipe.sh |
16 | =================================================================== |
17 | RCS file: /var/cvsroot/gentoo-x86/sys-apps/less/files/lesspipe.sh,v |
18 | retrieving revision 1.30 |
19 | retrieving revision 1.31 |
20 | diff -u -r1.30 -r1.31 |
21 | --- lesspipe.sh 30 May 2008 23:54:10 -0000 1.30 |
22 | +++ lesspipe.sh 27 Dec 2008 05:03:18 -0000 1.31 |
23 | @@ -148,7 +148,7 @@ |
24 | *.mp3) mp3info "$1" || id3info "$1" ;; |
25 | *.ogg) ogginfo "$1" ;; |
26 | *.flac) metaflac --list "$1" ;; |
27 | - *.torrent) torrentinfo-console "$1" ;; |
28 | + *.torrent) torrentinfo-console "$1" || ctorrent -x "$1" ;; |
29 | *.bin|*.cue|*.raw) |
30 | # not all .bin/.raw files are cd images, so fall back to hexdump |
31 | cd-info --no-header --no-device-info "$1" || lesspipe_file "$1" |
32 | @@ -230,7 +230,7 @@ |
33 | echo "Usage: lesspipe.sh <file>" |
34 | elif [[ $1 == "-V" || $1 == "--version" ]] ; then |
35 | Id="cvsid" |
36 | - cvsid="$Id: lesspipe.sh,v 1.30 2008/05/30 23:54:10 vapier Exp $" |
37 | + cvsid="$Id: lesspipe.sh,v 1.31 2008/12/27 05:03:18 vapier Exp $" |
38 | cat <<-EOF |
39 | $cvsid |
40 | Copyright 2001-2008 Gentoo Foundation |