diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-04-24 07:40:31 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-04-24 07:40:31 +0000 |
commit | 95b1f6c272ec99c02e55916e2ab98e1d32515b68 (patch) | |
tree | 6a251956618ce80239957634702f4ebbf0e72349 /sys-apps/less | |
parent | stable amd64, bug 175732 (diff) | |
download | historical-95b1f6c272ec99c02e55916e2ab98e1d32515b68.tar.gz historical-95b1f6c272ec99c02e55916e2ab98e1d32515b68.tar.bz2 historical-95b1f6c272ec99c02e55916e2ab98e1d32515b68.zip |
handle torrents
Package-Manager: portage-2.1.2.4
Diffstat (limited to 'sys-apps/less')
-rw-r--r-- | sys-apps/less/files/lesspipe.sh | 3 |
1 files changed, 2 insertions, 1 deletions
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 <file>" 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 |