From: Zac Medico Date: Fri, 28 Mar 2008 10:03:28 +0000 (-0000) Subject: Disable tarsync when using lzma compression since it doesn't seem to be X-Git-Tag: v2.2_pre6~316 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bdaf5371a5710d64594f76f1d3748efdbe913c9e;p=portage.git Disable tarsync when using lzma compression since it doesn't seem to be supported. svn path=/main/trunk/; revision=9537 --- 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