Add --force flag to install/brew

This commit is contained in:
Henrik Lissner 2013-03-21 12:50:16 -04:00
parent a67b251648
commit 93576c9429

View file

@ -5,7 +5,12 @@ if ! command-exists brew ; then
# http://mxcl.github.com/homebrew/
ruby <(curl -fsSkL raw.github.com/mxcl/homebrew/go) | indent
FORCE=1
elif [ "$1" = "--force" ]; then
FORCE=1
fi
if [ $FORCE ]; then
echoh "==> Homebrew: Installing essential brews"
{
# Install GNU core utilities (those that come with OS X are outdated)