Add --force flag to install/brew
This commit is contained in:
parent
a67b251648
commit
93576c9429
|
@ -5,7 +5,12 @@ if ! command-exists brew ; then
|
||||||
|
|
||||||
# http://mxcl.github.com/homebrew/
|
# http://mxcl.github.com/homebrew/
|
||||||
ruby <(curl -fsSkL raw.github.com/mxcl/homebrew/go) | indent
|
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"
|
echoh "==> Homebrew: Installing essential brews"
|
||||||
{
|
{
|
||||||
# Install GNU core utilities (those that come with OS X are outdated)
|
# Install GNU core utilities (those that come with OS X are outdated)
|
||||||
|
|
Loading…
Reference in a new issue