forked from zotan/os-bootstrap-core
Fail on homebrew install error
This commit is contained in:
parent
7a6743af95
commit
9cac58b945
3
macx.sh
3
macx.sh
|
@ -1,8 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
echo "--- Installing homebrew ---"
|
||||
set -e
|
||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||
(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> ~/.zprofile
|
||||
eval "$(/opt/homebrew/bin/brew shellenv)"
|
||||
set +e
|
||||
|
||||
echo "--- Downloading Brewfile ---"
|
||||
mkdir -P ~/Projects
|
||||
|
|
Loading…
Reference in a new issue