From a678b99fd7cc82e6f0e5493966e4a66c5e859681 Mon Sep 17 00:00:00 2001 From: Victor Date: Thu, 4 Nov 2021 16:40:16 -0700 Subject: [PATCH] fix(script): use right ref to install brew --- script/bootstrap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/bootstrap b/script/bootstrap index d4f3c9d..0fa69c3 100755 --- a/script/bootstrap +++ b/script/bootstrap @@ -21,7 +21,7 @@ echo -e "🚀 Bootstrapping @tagoro9 dotfiles..." if [ -f "Brewfile" ] && [ "$(uname -s)" = "Darwin" ]; then # Install homebrew if it's not there BREW_EXE=$(/usr/bin/which brew || echo 0) - if [ "$EXE" == "0" ]; then + if [ "$BREW_EXE" == "0" ]; then echo -e "🛠 Installing Homebrew..." /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" exit 1