Merge branch 'fix-asdf-install' into 'master'

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

See merge request mythic-insight/legendary!110
This commit is contained in:
Robert Prehn 2021-08-16 21:36:04 +00:00
commit bc87c1fda9
2 changed files with 5 additions and 1 deletions

View file

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

View file

@ -10,6 +10,11 @@ then
else else
brew bundle brew bundle
export KERL_CONFIGURE_OPTIONS="$KERL_CONFIGURE_OPTIONS --disable-hipe --with-ssl=$(brew --prefix openssl)" 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 fi
if ! which asdf &> /dev/null if ! which asdf &> /dev/null