This commit is contained in:
Reinhard Pointner 2017-02-06 14:33:06 +08:00
parent c701a20bbf
commit cb0294790a
1 changed files with 2 additions and 2 deletions

View File

@ -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