commit:     ce0f37932dfa194566aa32bf6f3a11066c4854fe
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 15 07:21:01 2019 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sun Dec 15 07:39:29 2019 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=ce0f3793

emerge-webrsync: enable xz snapshots for tarsync

There's xz support in current versions of diffball.

Bug: https://bugs.gentoo.org/702970
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 bin/emerge-webrsync | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/bin/emerge-webrsync b/bin/emerge-webrsync
index 2190ad20b..5fe30133d 100755
--- a/bin/emerge-webrsync
+++ b/bin/emerge-webrsync
@@ -309,11 +309,7 @@ do_snapshot() {
        local mirror
 
        local compressions=""
-       # 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"
-       fi
+       type -P xzcat > /dev/null && compressions="${compressions} xz"
        type -P bzcat > /dev/null && compressions="${compressions} bz2"
        type -P  zcat > /dev/null && compressions="${compressions} gz"
        if [[ -z ${compressions} ]] ; then

Reply via email to