diff options
| author | Xiyue Deng | 2012-11-08 02:19:05 -0800 |
|---|---|---|
| committer | Mike McQuaid | 2012-11-30 21:37:56 +0000 |
| commit | 17392399114b4921b05f32158f2c44636075d01a (patch) | |
| tree | 1ba287b8f767d1556113cdc60cd00688e2b1b409 /Library/Formula/patchutils.rb | |
| parent | d5e1c41c02b32e41fd3437e237ca54cecacb5ff5 (diff) | |
| download | homebrew-17392399114b4921b05f32158f2c44636075d01a.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 #15914.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula/patchutils.rb')
0 files changed, 0 insertions, 0 deletions
