Add more brew packages to osx installer

This commit is contained in:
Michael Campagnaro 2017-05-02 17:39:28 -04:00
parent 427a2a50a5
commit 8dff5cba1b

View File

@ -28,15 +28,24 @@ else
printf "${YELLOW}already installed!${NORMAL}\n"
fi
brew tap homebrew/core
printf "Installing xquartz..."
brew cask install xquartz
brew_packages=(
'tree'
'openssl')
'openssl'
'xclip'
'rlwrap'
'cmake'
'rust')
for package in "${brew_packages[@]}"
do
printf "Installing $package..."
ret=$(brew list | awk /$package/)
if [ $ret == $package ]; then
if [[ $ret == $package ]]; then
printf "${YELLOW}already installed!${NORMAL}\n"
else
eval "brew install $package"