summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-04-24 07:40:31 +0000
committerMike Frysinger <vapier@gentoo.org>2007-04-24 07:40:31 +0000
commitc57c97f6cd296977d47426c176801562cbfe510e (patch)
tree4e6fe6f9082821990753a7848fcfa206961d7eb8 /sys-apps/less/files
parentstable amd64, bug 175732 (diff)
downloadgentoo-2-c57c97f6cd296977d47426c176801562cbfe510e.tar.gz
gentoo-2-c57c97f6cd296977d47426c176801562cbfe510e.tar.bz2
gentoo-2-c57c97f6cd296977d47426c176801562cbfe510e.zip
handle torrents
(Portage version: 2.1.2.4)
Diffstat (limited to 'sys-apps/less/files')
-rw-r--r--sys-apps/less/files/lesspipe.sh3
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