From db62b728d41e2833550f256241f977e39ac4aaed Mon Sep 17 00:00:00 2001 From: Robert Prehn <3952444+prehnRA@users.noreply.github.com> Date: Mon, 16 Aug 2021 16:26:58 -0500 Subject: [PATCH] fix: Only install asdf from brew if it does not exist on system --- Brewfile | 1 - script/bootstrap | 5 +++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Brewfile b/Brewfile index e5ea2fd0..c69054d1 100644 --- a/Brewfile +++ b/Brewfile @@ -10,7 +10,6 @@ brew "libyaml" brew "openssl@1.1" brew "readline" brew "unixodbc" -brew "asdf" brew "curl" brew "fop" brew "gnupg" diff --git a/script/bootstrap b/script/bootstrap index 9d9a78be..eae43a92 100755 --- a/script/bootstrap +++ b/script/bootstrap @@ -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