diff options
| author | Max Howell | 2009-11-11 17:23:50 +0000 |
|---|---|---|
| committer | Max Howell | 2009-11-11 17:29:34 +0000 |
| commit | 993469ca5cab94d6e842d74c69508bfca9107f87 (patch) | |
| tree | f8e55f7acf9592bf1738a9ff16bc30c440ffb508 /Library/Homebrew | |
| parent | 741a6d37fe595d69b80f0b73b16ee8046071c61e (diff) | |
| download | homebrew-993469ca5cab94d6e842d74c69508bfca9107f87.tar.bz2 | |
Ignore spill in all /*/Library/Caches
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/beer_events.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Homebrew/beer_events.rb b/Library/Homebrew/beer_events.rb index 61c41cc3e..18d0d0a6c 100644 --- a/Library/Homebrew/beer_events.rb +++ b/Library/Homebrew/beer_events.rb @@ -172,8 +172,7 @@ begin spill.reject! { |path| path =~ /^#{HOMEBREW_PREFIX}/ } # irrelevent files that change a lot spill.reject! { |path| path == "/Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plist-lock" } - spill.reject! { |path| path == "/System/Library/Caches/com.apple.Components2.SystemCache.Components" } - spill.reject! { |path| path == "/System/Library/Caches/com.apple.Components2.SystemCache.QuickTimeComponents" } + spill.reject! { |path| path =~ %r{^(/System)?/Library/Caches/} } unless spill.empty? opoo "Detected installation of files outside the Homebrew prefix:" puts *spill |
