brew.sh
This commit is contained in:
parent
c701a20bbf
commit
cb0294790a
|
@ -1,10 +1,10 @@
|
||||||
#!/bin/sh -x
|
#!/bin/sh -xu
|
||||||
|
|
||||||
# brew requires Command Line Tools for Xcode
|
# brew requires Command Line Tools for Xcode
|
||||||
xcode-select --print-path || sudo xcode-select --install
|
xcode-select --print-path || sudo xcode-select --install
|
||||||
|
|
||||||
# install brew if necessary
|
# install brew if necessary
|
||||||
brew info || /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
brew info || ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
||||||
|
|
||||||
# update brew package index and update all packages
|
# update brew package index and update all packages
|
||||||
brew update && brew upgrade
|
brew update && brew upgrade
|
||||||
|
|
Loading…
Reference in New Issue