Skip to content

Commit

Permalink
Update install.sh
Browse files Browse the repository at this point in the history
XCode Commandline tools prompt now pops up when installing homebrew! no need for a separate prompt.
  • Loading branch information
Brandon Brown committed Aug 22, 2015
1 parent 95cabcf commit 81ab73c
Showing 1 changed file with 4 additions and 18 deletions.
22 changes: 4 additions & 18 deletions install.sh
Expand Up @@ -31,14 +31,14 @@ cecho() {

echo ""
cecho "===================================================" $dark_gray
cecho "Install the XCode Command-line Tools? (y/n)" $gray
cecho "Install homebrew? (y/n)" $gray
cecho "===================================================" $dark_gray
read -r response
case $response in
[yY])
echo ""
echo "Installing the Xcode Command-line tools"
xcode-select --install
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew doctor
brew update
break;;
*) break;;
esac
Expand Down Expand Up @@ -66,20 +66,6 @@ case $response in
*) break;;
esac

echo ""
cecho "===================================================" $dark_gray
cecho "Install homebrew? (y/n)" $gray
cecho "===================================================" $dark_gray
read -r response
case $response in
[yY])
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew doctor
brew update
break;;
*) break;;
esac

echo ""
cecho "===================================================" $dark_gray
cecho "Install brew utilities? (y/n)" $gray
Expand Down

0 comments on commit 81ab73c

Please sign in to comment.