2017-02-06 06:33:06 +00:00
|
|
|
#!/bin/sh -xu
|
2016-09-19 06:17:09 +00:00
|
|
|
|
|
|
|
# brew requires Command Line Tools for Xcode
|
|
|
|
xcode-select --print-path || sudo xcode-select --install
|
|
|
|
|
|
|
|
# install brew if necessary
|
2017-02-06 06:33:06 +00:00
|
|
|
brew info || ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
2016-09-19 06:17:09 +00:00
|
|
|
|
|
|
|
# update brew package index and update all packages
|
|
|
|
brew update && brew upgrade
|
|
|
|
|
|
|
|
# install latest JDK
|
|
|
|
brew cask install java --force
|
|
|
|
|
|
|
|
# install FileBot bundle to ~/Applications
|
|
|
|
brew cask install filebot --force --appdir=~/Applications
|