aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/patchutils.rb
diff options
context:
space:
mode:
authorXiyue Deng2012-11-08 02:19:05 -0800
committerMike McQuaid2012-11-30 21:37:56 +0000
commit17392399114b4921b05f32158f2c44636075d01a (patch)
tree1ba287b8f767d1556113cdc60cd00688e2b1b409 /Library/Formula/patchutils.rb
parentd5e1c41c02b32e41fd3437e237ca54cecacb5ff5 (diff)
downloadhomebrew-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