From bdaf5371a5710d64594f76f1d3748efdbe913c9e Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 28 Mar 2008 10:03:28 +0000 Subject: [PATCH] Disable tarsync when using lzma compression since it doesn't seem to be supported. svn path=/main/trunk/; revision=9537 --- bin/emerge-webrsync | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/emerge-webrsync b/bin/emerge-webrsync index ee9cb7d45..3a58b2b16 100755 --- a/bin/emerge-webrsync +++ b/bin/emerge-webrsync @@ -173,7 +173,8 @@ sync_local() { vecho "Syncing local tree ..." - if type -P tarsync &> /dev/null; then + # tarsync-0.2.1 doesn't seem to support lzma compression. + if [ "${file##*.}" != "lzma" ] && type -P tarsync &> /dev/null; then if ! tarsync $(vvecho -v) -s 1 -o portage -g portage -e /distfiles -e /packages -e /local "${file}" "${PORTDIR}"; then eecho "tarsync failed; tarball is corrupt? (${file})" return 1 -- 2.26.2