diff options
| author | Xiyue Deng | 2012-11-08 02:19:05 -0800 |
|---|---|---|
| committer | Mike McQuaid | 2012-11-30 21:37:56 +0000 |
| commit | 2a1ec18ff93d92debed03e036c53785108ee4858 (patch) | |
| tree | 85b6c16898d3f2f394f28d1f74c40f761878d373 /Library/ENV | |
| parent | 9c294364c63e61da8a1e292ca8f7894354e5218d (diff) | |
| download | brew-2a1ec18ff93d92debed03e036c53785108ee4858.tar.bz2 | |
brew cleanup: don't remove higher version kegs.
* Use version compare to only remove kegs with lower version than the
current one, not higher version which might be from someone's
branch.
* Do the same for cache cleanup.
- Be conservative so that if a name detected from cache file is not
the same as its formula then don't clean it.
Closes Homebrew/homebrew#15914.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/ENV')
0 files changed, 0 insertions, 0 deletions
