| Age | Commit message (Collapse) | Author |
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
* Additional tweaks by me.
|
|
|
|
Also, call this function from a few places where the code was duplicated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Previously "brew cleanup" would complain if the most recent
version of a brew wasn't installed.
We now suppress this message if only one (outdated) formula is
present.
|
|
|
|
Tweak wording in X11 check and use the same X11 detection function
as ENV.x11; also move that function into utils.
|
|
Fixes Homebrew/homebrew#1980
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
|
|
Also don't show any aliases if you just type `brew search` as there is so
little context, it just looks messy.
|
|
|
|
|
|
|
|
* Preference is for commands to take instantiated formulae as parameters
rather than formula names, so alias resolution can be centralized.
|
|
|
|
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
This was supposed to go in with the "brew-upgrade" external command,
but must have been lost in the merge.
|
|
|
|
The previous code works fine on ruby 1.8.x, but under 1.9 trying
find on a non-existent folder gives:
==> No such file or directory
/usr/local/Cellar/ruby/1.9.1-p378/lib/ruby/1.9.1/find.rb:38:in `block in find'
Fixes Homebrew/homebrew#1633
|
|
The TeX-live 2008 formula was out of date (there's a 2009), buggy,
and doesn't build 64-bit.
The MacTeX package works and is supported, with a 2010 version in the works.
Let's recommend that instead.
Fixes Homebrew/homebrew#1087
|
|
|
|
The code to try to move man into share didn't seem to be working, since
the code that warns if a top-level man was found was firing off.
Removing this apparently dead code.
|
|
|
|
|
|
Different llvm binaries were used to check build numbers and to compile with.
Normalize this, and normalize the variable name used to hold the xcode location.
(Calling it "prefix" is confusing, since there are already concepts in Homebrew
called "prefx".)
|
|
|
|
|
|
|
|
|
|
into memory
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
|
|
|
|
* Adds GCC 4.0 version info to --config output.
* Splits gcc_build into gcc_40_build and gcc_42_build.
* Adds alias gcc_build to gcc_42_build for compatibility.
* Updates Xcode checking to also check GCC 4.0 version.
These changes are a combination of work by AdamV and my work
on my Tiger branch. This information would be useful for all
installs since some formulae compile with GCC 4.0.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Lets stop removing docs and doc (though moving share/docs to share/doc would make sense) as I was being lame when I decided nobody ever needs local documentation.
I still wouldn't use it (the INTRAWEBS is pretty good nowadays), but I admit, for some people, it's essential.
|
|
|
|
|
|
Running `brew cleanup` (with no arguments or multiple arguments) raises
an error and stops as soon as it finds any formula whose most recent
version is not installed.
With this change it will instead print a warning, then continue with the
next formula.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Running `brew cleanup` (with no arguments or multiple arguments) will
run `brew prune` after _every_ cleaned formula, i.e. possibly after
every installed formula.
With this change it will instead only run `prune` after all formulae are
cleaned, and only when no arguments were given to `cleanup`.
Signed-off-by: Max Howell <max@methylblue.com>
Closes Homebrew/homebrew#743
|
|
Stale symlinks may exist, so we may as well fix them up at this juncture.
|
|
If the formula was updated and not yet installed, then cleanup would delete all kegs. Which is most likely not what the user wanted.
Ideally we'd do a version check to figure out which keg is newest. But we don't yet have a function that can determine with accuracy version order.
|