fix: Only install asdf from brew if it does not exist on system

This commit is contained in:
Robert Prehn 2021-08-16 16:26:58 -05:00
parent f98c552986
commit db62b728d4
2 changed files with 5 additions and 1 deletions

View file

@ -10,7 +10,6 @@ brew "libyaml"
brew "openssl@1.1"
brew "readline"
brew "unixodbc"
brew "asdf"
brew "curl"
brew "fop"
brew "gnupg"

View file

@ -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