updated install_homebrew.sh

pull/2/head
Hari Sekhon 5 years ago
parent d83e9ca5e5
commit fa9323ab5a

@ -15,4 +15,13 @@
set -euo pipefail
[ -n "${DEBUG:-}" ] && set -x
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
if type -P brew &>/dev/null; then
echo "HomeBrew already installed, skipping install..."
else
echo "==================="
echo "Installing HomeBrew"
echo "==================="
echo
# automatically sending Enter to Continue
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" <<< ""
fi

Loading…
Cancel
Save