brew install script

This commit is contained in:
Benjamin Palko 2024-03-02 20:01:04 -05:00
parent d143091f45
commit 1632c12ac7

9
.install/brew-install.sh Normal file
View file

@ -0,0 +1,9 @@
#!/bin/bash
if [[ $(command -v brew) == "" ]]; then
echo "Installing Homebrew"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
else
echo "Updating Homebrew"
brew update
fi