Skip to content

Commit

Permalink
fix(git): use brew link overwrite to resolve issue where git did not …
Browse files Browse the repository at this point in the history
…link if xcode-beta was installed before uber
  • Loading branch information
Deavon McCaffery committed Aug 19, 2016
1 parent caef0da commit 3901fd9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,11 @@ if test "$(uname)" = "Darwin"; then

rm -rf "$LOCAL_PREFIX/etc/bash_completion.d/git-prompt.sh" 1>/dev/null

for pkg in git git-extras git-flow-avh gnu-getopt mono homebrew/versions/node5 openssl; do
for pkg in git git-extras git-flow-avh gnu-getopt homebrew/versions/node5 openssl; do
if brew list -1 | grep -q "^${pkg}\$"; then
success "Upgrading $pkg..."
brew upgrade ${pkg} 1>/dev/null
brew link --overwrite ${pkg}
else
success "Installing $pkg..."
brew install ${pkg}
Expand Down

0 comments on commit 3901fd9

Please sign in to comment.