|
|
shift | shift |
done | done |
# Check if various utils are allowed and installed | # Check if various utils are allowed and installed |
|
# Don't use equery until portage 2.1.3 is stable |
|
# Portage 2.1.2 doesn't write all errors to stderr and this |
|
# causes equery output to be potentially hosed |
|
EQUERY=1 |
if [[ $avoid_utils != *portage-utils* ]] && hash q 2> /dev/null; then | if [[ $avoid_utils != *portage-utils* ]] && hash q 2> /dev/null; then |
PORTAGE_UTILS=1 | PORTAGE_UTILS=1 |
elif [[ $avoid_utils != *pkgcore* ]] && hash pquery 2> /dev/null; then | elif [[ $avoid_utils != *pkgcore* ]] && hash pquery 2> /dev/null; then |