fix: Only install asdf from brew if it does not exist on system
This commit is contained in:
parent
f98c552986
commit
db62b728d4
2 changed files with 5 additions and 1 deletions
1
Brewfile
1
Brewfile
|
@ -10,7 +10,6 @@ brew "libyaml"
|
|||
brew "openssl@1.1"
|
||||
brew "readline"
|
||||
brew "unixodbc"
|
||||
brew "asdf"
|
||||
brew "curl"
|
||||
brew "fop"
|
||||
brew "gnupg"
|
||||
|
|
|
@ -10,6 +10,11 @@ then
|
|||
else
|
||||
brew bundle
|
||||
export KERL_CONFIGURE_OPTIONS="$KERL_CONFIGURE_OPTIONS --disable-hipe --with-ssl=$(brew --prefix openssl)"
|
||||
|
||||
if ! which asdf &> /dev/null
|
||||
then
|
||||
brew install asdf
|
||||
fi
|
||||
fi
|
||||
|
||||
if ! which asdf &> /dev/null
|
||||
|
|
Loading…
Reference in a new issue