diff --git a/homebrew/install.sh b/homebrew/install.sh index f01dbdc7f75..bfa890aefa6 100755 --- a/homebrew/install.sh +++ b/homebrew/install.sh @@ -10,14 +10,7 @@ if test ! $(which brew) then echo " Installing Homebrew for you." - # Install the correct homebrew for each OS type - if test "$(uname)" = "Darwin" - then - ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" - elif test "$(expr substr $(uname -s) 1 5)" = "Linux" - then - ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install)" - fi + /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" fi