#
# Application installer (via brew-cask)
#

#!/bin/sh

set -e

# Apps
apps=(
  android-file-transfer
  atom
  betterzipql
  caffeine
  dropbox
  firefox
  firefoxdeveloperedition
  flash
  flux
  google-chrome
  google-chrome-canary
  google-drive
  intellij-idea
  iterm2
  java
  keepassx
  keka
  qlcolorcode
  qlmarkdown
  qlstephen
  quicklook-csv
  quicklook-json
  postman
  skitch
  skype
  spotify
  sublime-text3
  transmission
  virtualbox
  vlc
  zoomus
)

# fonts
fonts=(
  font-clear-sans
  font-hack
  font-m-plus
  font-roboto
)

# Specify the location of the apps
appdir="/Applications"

# Check if homebrew is installed
if test ! $(which brew); then
  echo "Installing homebrew..."
  ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi

# Install homebrew-cask
echo "Tapping casks..."

# Tap alternative versions
brew tap caskroom/versions

# Tap the fonts
brew tap caskroom/fonts

# install apps
echo "Installing apps..."
brew cask install --appdir=$appdir ${apps[@]}

# install fonts
echo "Installing fonts..."
brew cask install ${fonts[@]}

# Tidy up
brew cask cleanup

exit 0

#
# Application installer (via brew-cask)
#

#!/bin/sh

set -e

# Apps
apps=(
  android-file-transfer
  atom
  betterzipql
  caffeine
  dropbox
  firefox
  firefoxdeveloperedition
  flash
  flux
  google-chrome
  google-chrome-canary
  google-drive
  intellij-idea
  iterm2
  java7
  keka
  qlcolorcode
  qlmarkdown
  qlstephen
  quicklook-csv
  quicklook-json
  skitch
  skype
  spotify
  sublime-text3
  transmission
  virtualbox
  vlc
  zoomus
)

# fonts
fonts=(
  font-clear-sans
  font-hack
  font-m-plus
  font-roboto
)

# Specify the location of the apps
appdir="/Applications"

# Check if homebrew is installed
if test ! $(which brew); then
  echo "Installing homebrew..."
  ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi

# Install homebrew-cask
echo "Tapping casks..."

# Tap alternative versions
brew tap caskroom/versions

# Tap the fonts
brew tap caskroom/fonts

# install apps
echo "Installing apps..."
brew cask install --appdir=$appdir ${apps[@]}

# install fonts
echo "Installing fonts..."
brew cask install ${fonts[@]}

# Tidy up
brew cask cleanup

exit 0

--- 
+++ 
@@ -22,15 +22,13 @@
   google-drive
   intellij-idea
   iterm2
-  java
-  keepassx
+  java7
   keka
   qlcolorcode
   qlmarkdown
   qlstephen
   quicklook-csv
   quicklook-json
-  postman
   skitch
   skype
   spotify
Add few more brew cask applications
