summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-08-24 01:01:25 +0000
committerMike Frysinger <vapier@gentoo.org>2010-08-24 01:01:25 +0000
commite54fbade19a6f683d8475e3dfc940a6bc318ca5d (patch)
tree0b675b273442b258359c11f48363f2f8009b9ee4 /sys-apps
parentnew package sys-power/phc-intel, first commit to the tree (diff)
downloadgentoo-2-e54fbade19a6f683d8475e3dfc940a6bc318ca5d.tar.gz
gentoo-2-e54fbade19a6f683d8475e3dfc940a6bc318ca5d.tar.bz2
gentoo-2-e54fbade19a6f683d8475e3dfc940a6bc318ca5d.zip
Add support for txz archives by Marcin Baczyński #334027.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/less/ChangeLog5
-rw-r--r--sys-apps/less/files/lesspipe.sh4
2 files changed, 6 insertions, 3 deletions
diff --git a/sys-apps/less/ChangeLog b/sys-apps/less/ChangeLog
index 91512f8bf9f1..f86026d8c156 100644
--- a/sys-apps/less/ChangeLog
+++ b/sys-apps/less/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/less
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/less/ChangeLog,v 1.117 2010/03/23 20:54:13 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/less/ChangeLog,v 1.118 2010/08/24 01:01:25 vapier Exp $
+
+ 24 Aug 2010; Mike Frysinger <vapier@gentoo.org> files/lesspipe.sh:
+ Add support for txz archives by Marcin Baczyński #334027.
23 Mar 2010; Mike Frysinger <vapier@gentoo.org> files/lesspipe.sh:
Fix by Jack Lloyd to handle .tbz and .tar.bz files #308855.
diff --git a/sys-apps/less/files/lesspipe.sh b/sys-apps/less/files/lesspipe.sh
index b793acc168b1..23e7bcdfeb10 100644
--- a/sys-apps/less/files/lesspipe.sh
+++ b/sys-apps/less/files/lesspipe.sh
@@ -107,7 +107,7 @@ lesspipe() {
*.tar.lz|*.tar.tlz|\
*.tar.lzma|*.tar.xz)
${DECOMPRESSOR} -- "$1" | tar tvvf -;;
- *.tbz2|*.tbz|*.tgz|*.tlz)
+ *.tbz2|*.tbz|*.tgz|*.tlz|*.txz)
lesspipe "$1" "$1".tar.${1##*.t} ;;
### Misc archives ###
@@ -231,7 +231,7 @@ if [[ -z $1 ]] ; then
elif [[ $1 == "-V" || $1 == "--version" ]] ; then
Id="cvsid"
cat <<-EOF
- $Id: lesspipe.sh,v 1.40 2010/03/23 20:54:13 vapier Exp $
+ $Id: lesspipe.sh,v 1.41 2010/08/24 01:01:25 vapier Exp $
Copyright 2001-2010 Gentoo Foundation
Mike Frysinger <vapier@gentoo.org>
(with plenty of ideas stolen from other projects/distros)