mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-17 10:10:25 +00:00
[gentoo] implemented suggested variant of detecting presence of 'eix'.
This commit is contained in:
parent
b18e670955
commit
e29ecde559
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue