brew install script
This commit is contained in:
parent
d143091f45
commit
1632c12ac7
1 changed files with 9 additions and 0 deletions
9
.install/brew-install.sh
Normal file
9
.install/brew-install.sh
Normal 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
|
||||||
|
|
||||||
Loading…
Add table
Reference in a new issue