summaryrefslogtreecommitdiffstats
path: root/bin/emerge-webrsync
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-03-27 13:01:10 -0700
committerZac Medico <zmedico@gentoo.org>2011-03-27 13:01:10 -0700
commit3bfc88f2aed25d4289dafca6c069eae8e71971ea (patch)
treee5bc11b0c25192b1f6454b2924417c04bc369eac /bin/emerge-webrsync
parentcdf04882ce380579814b9cfe63ee593dbfba5ef9 (diff)
downloadportage-3bfc88f2aed25d4289dafca6c069eae8e71971ea.tar.gz
portage-3bfc88f2aed25d4289dafca6c069eae8e71971ea.tar.bz2
portage-3bfc88f2aed25d4289dafca6c069eae8e71971ea.zip
emerge-webrsync: drop lzma support
The lzma snapshots have been replaced by xz snapshots, as discussed in the "RFC: Remove .lzma in favor of .xz portage snapshots" thread on the gentoo-dev ml: http://archives.gentoo.org/gentoo-dev/msg_7de1b57ce531fdf33d33b5b070006436.xml
Diffstat (limited to 'bin/emerge-webrsync')
-rwxr-xr-xbin/emerge-webrsync6
1 files changed, 2 insertions, 4 deletions
diff --git a/bin/emerge-webrsync b/bin/emerge-webrsync
index 82792426a..69cfc969d 100755
--- a/bin/emerge-webrsync
+++ b/bin/emerge-webrsync
@@ -64,7 +64,6 @@ do_tar() {
local decompressor
case ${file} in
*.xz) decompressor="xzcat" ;;
- *.lzma) decompressor="lzcat" ;;
*.bz2) decompressor="bzcat" ;;
*.gz) decompressor="zcat" ;;
*) decompressor="cat" ;;
@@ -227,16 +226,15 @@ do_snapshot() {
local mirror
local compressions=""
- # lzma is not supported in app-arch/tarsync, so use
+ # xz is not supported in app-arch/tarsync, so use
# bz2 format if we have tarsync.
if ! type -P tarsync > /dev/null ; then
type -P xzcat > /dev/null && compressions="${compressions} xz"
- type -P lzcat > /dev/null && compressions="${compressions} lzma"
fi
type -P bzcat > /dev/null && compressions="${compressions} bz2"
type -P zcat > /dev/null && compressions="${compressions} gz"
if [[ -z ${compressions} ]] ; then
- eecho "unable to locate any decompressors (lzcat or bzcat or zcat)"
+ eecho "unable to locate any decompressors (xzcat or bzcat or zcat)"
exit 1
fi