Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:master commit in: bin/
Date: Sun, 15 Dec 2019 07:40:43
Message-Id: 1576395569.ce0f37932dfa194566aa32bf6f3a11066c4854fe.zmedico@gentoo
1 commit: ce0f37932dfa194566aa32bf6f3a11066c4854fe
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 15 07:21:01 2019 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 15 07:39:29 2019 +0000
6 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=ce0f3793
7
8 emerge-webrsync: enable xz snapshots for tarsync
9
10 There's xz support in current versions of diffball.
11
12 Bug: https://bugs.gentoo.org/702970
13 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
14
15 bin/emerge-webrsync | 6 +-----
16 1 file changed, 1 insertion(+), 5 deletions(-)
17
18 diff --git a/bin/emerge-webrsync b/bin/emerge-webrsync
19 index 2190ad20b..5fe30133d 100755
20 --- a/bin/emerge-webrsync
21 +++ b/bin/emerge-webrsync
22 @@ -309,11 +309,7 @@ do_snapshot() {
23 local mirror
24
25 local compressions=""
26 - # xz is not supported in app-arch/tarsync, so use
27 - # bz2 format if we have tarsync.
28 - if ! type -P tarsync > /dev/null ; then
29 - type -P xzcat > /dev/null && compressions="${compressions} xz"
30 - fi
31 + type -P xzcat > /dev/null && compressions="${compressions} xz"
32 type -P bzcat > /dev/null && compressions="${compressions} bz2"
33 type -P zcat > /dev/null && compressions="${compressions} gz"
34 if [[ -z ${compressions} ]] ; then