Created
May 18, 2020 15:41
-
-
Save lurraca/d7d75e37ee7ba28b718798fae796bee2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ensure_brew_exists() { | |
echo "Ensuring brew exists..." | |
if [[ ! -x /usr/local/bin/brew ]] ; then | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
fi | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment