[gentoo] implemented suggested variant of detecting presence of 'eix'.

This commit is contained in:
Elias Probst 2013-09-24 18:37:25 +02:00
parent b18e670955
commit e29ecde559

View file

@ -2788,13 +2788,13 @@ __gentoo_config_protection() {
__gentoo_pre_dep() {
if [ $_ECHO_DEBUG -eq $BS_TRUE ]; then
if which eix &> /dev/null; then
if [ "x$(which eix)" != "x" ]; then
eix-sync
else
emerge --sync
fi
else
if which eix &> /dev/null; then
if [ "x$(which eix)" != "x" ]; then
eix-sync -q
else
emerge --sync --quiet