It was just confusing, and since the `brew upgrade` refactor this makes more sense too.
Shame it still downloads in there etc. but whatever. Homebrew 2 will fix!
Will be useful for a variety of reasons, but for now, I'm just using it to ensure install won't install again if something is already installed (use brew upgrade instead).
But means that brew switch and that can work properly etc.
Bottles now pour purely, without doing all the other unnecessary stuff that happened before the `brew upgrade` code shuffle.
Formula.pourable? removed since it was install-specific metadata and not related to the formula itself. Now all such logic is in the FormulaInstaller which is much cleaner.
I also changed the bottle cache location to the normal directory and added a .bottle pre-extension. Thus you can see everything in one directory without messing about.
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.
There's an annoying hardcoded key combination (Ctrl+Shift) that starts ISO 14755
mode for i18n support. Given the ubiquity of UTF-8, this mode is largely useless
and can only be disabled with a command-line option. A simple search on google
shows how many people find this annoying:
http://www.google.com/search?q=disable+iso14755&oq=disable+iso14755
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
GRASS 6.4.1 is currently not compatible with FFmpeg 0.8. Removing the
dependency until GRASS is updated.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Removed trailing whitespace in ddd formula.
(Also git/github practice as my last pull request behaved unexpectedly)
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Finder activity such as moving the position of an icon can create an unexpected
.DS_Store file in a Cellar directory. This causes `brew remove --force` to throw
an error that is reported as
Error: Directory not empty - /usr/local/Cellar/<formula>
This fix avoids that error, by calling rmtree rather than rmdir.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
I'd happily never upgrade pkg-config. Glib is a hideous and bloated POS, generally you can avoid installing it, but now fucking pkg-config depends on it. Fuck that.