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