local mirror
local compressions=""
- # lzma is not supported in <=app-arch/tarsync-0.2.1, so use
- # bz2 format if we have an old version of tarsync.
- if type -P tarsync > /dev/null && \
- portageq has_version / '<=app-arch/tarsync-0.2.1' ; then
- true
- else
+ # lzma is not supported in app-arch/tarsync, so use
+ # bz2 format if we have tarsync.
+ if ! type -P tarsync > /dev/null ; then
type -P lzcat > /dev/null && compressions="${compressions} lzma"
fi
type -P bzcat > /dev/null && compressions="${compressions} bz2"