mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
[gentoo] make use of 'eix' where available.
This commit is contained in:
parent
a5b7e57dc6
commit
6aa6d912ae
1 changed files with 10 additions and 2 deletions
|
@ -2779,9 +2779,17 @@ __emerge() {
|
|||
|
||||
__gentoo_pre_dep() {
|
||||
if [ $_ECHO_DEBUG -eq $BS_TRUE ]; then
|
||||
emerge --sync
|
||||
if which eix &> /dev/null; then
|
||||
eix-sync
|
||||
else
|
||||
emerge --sync
|
||||
fi
|
||||
else
|
||||
emerge --sync --quiet
|
||||
if which eix &> /dev/null; then
|
||||
eix-sync -q
|
||||
else
|
||||
emerge --sync --quiet
|
||||
fi
|
||||
fi
|
||||
if [ ! -d /etc/portage ]; then
|
||||
mkdir /etc/portage
|
||||
|
|
Loading…
Add table
Reference in a new issue