diff options
| author | Max Howell | 2011-08-23 23:30:52 +0100 |
|---|---|---|
| committer | Max Howell | 2011-08-24 22:30:43 +0100 |
| commit | 19e387d92e2741fa23cc6fde4743b1b8b28e0fa3 (patch) | |
| tree | 152d301d9ffe3d9cb8477645d928b6037d9ea6a9 /Library/Contributions | |
| parent | 3a0cf31ed0ffb33e5ae2c0d996902a983752589d (diff) | |
| download | brew-19e387d92e2741fa23cc6fde4743b1b8b28e0fa3.tar.bz2 | |
`brew upgrade`
Consequence: you can no longer install when something is already installed, you must upgrade it. This doesn't apply if the formula in question was unlinked. You can still --force installs though.
Rationale: the old way of installing over the top would leave symlinks to multiple versions in /usr/local if the old version had a file the newer version didn't. The new upgrade command handles everything properly.
Diffstat (limited to 'Library/Contributions')
| -rwxr-xr-x | Library/Contributions/examples/brew-upgrade.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Library/Contributions/examples/brew-upgrade.rb b/Library/Contributions/examples/brew-upgrade.rb deleted file mode 100755 index 3ffb570ac..000000000 --- a/Library/Contributions/examples/brew-upgrade.rb +++ /dev/null @@ -1,7 +0,0 @@ -# Updates all outdated brews -# See: http://github.com/mxcl/homebrew/issues/issue/1324 - -require 'cmd/outdated' -require 'cmd/install' - -Homebrew.install_formulae Homebrew.outdated_brews.map{ |_keg, name, _version| Formula.factory name } |
