1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-11 03:45:06 -05:00
filebot/installer/appbundle/Helper/brew.sh
Reinhard Pointner cb0294790a brew.sh
2017-02-06 14:33:06 +08:00

17 lines
485 B
Bash
Executable File

#!/bin/sh -xu
# brew requires Command Line Tools for Xcode
xcode-select --print-path || sudo xcode-select --install
# install brew if necessary
brew info || ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# 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