Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Update Homebrew even if already installed #200

Merged
merged 1 commit into from

2 participants

@croaky
Owner

Regardless of whether we install Homebrew on a Laptop run, we still ought to
update the Homebrew formulas.

@gabebw
Owner

A good change for the big 2-oh-oh.

@croaky croaky merged commit c6a4aec into master
@croaky croaky deleted the dc-brew-update branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 1, 2014
  1. @croaky
This page is out of date. Refresh to see the latest.
Showing with 6 additions and 2 deletions.
  1. +3 −1 mac
  2. +3 −1 mac-components/homebrew
View
4 mac
@@ -45,7 +45,6 @@ fi
if ! which brew &>/dev/null; then
fancy_echo "Installing Homebrew, a good OS X package manager ..."
ruby <(curl -fsS https://raw.github.com/Homebrew/homebrew/go/install)
- brew update
if ! grep -qs "recommended by brew doctor" ~/.zshrc; then
fancy_echo "Put Homebrew location earlier in PATH ..."
@@ -56,6 +55,9 @@ if ! which brew &>/dev/null; then
else
fancy_echo "Homebrew already installed. Skipping ..."
fi
+
+fancy_echo "Updating Homebrew formulas ..."
+brew update
### end mac-components/homebrew
fancy_echo "Installing Postgres, a good open source relational database ..."
View
4 mac-components/homebrew
@@ -1,7 +1,6 @@
if ! which brew &>/dev/null; then
fancy_echo "Installing Homebrew, a good OS X package manager ..."
ruby <(curl -fsS https://raw.github.com/Homebrew/homebrew/go/install)
- brew update
if ! grep -qs "recommended by brew doctor" ~/.zshrc; then
fancy_echo "Put Homebrew location earlier in PATH ..."
@@ -12,3 +11,6 @@ if ! which brew &>/dev/null; then
else
fancy_echo "Homebrew already installed. Skipping ..."
fi
+
+fancy_echo "Updating Homebrew formulas ..."
+brew update
Something went wrong with that request. Please try again.