diff options
| author | Max Howell | 2009-11-08 15:01:08 +0000 |
|---|---|---|
| committer | Max Howell | 2009-11-08 15:21:15 +0000 |
| commit | 13d6d97d66fee9c2d4e866246ad73488f4e5d902 (patch) | |
| tree | 8b6c87af06b7ee498df549521ec16af98168b5d3 /Library | |
| parent | 67567173da307ff97d2b9d134f34ab6cc80a1f8d (diff) | |
| download | homebrew-13d6d97d66fee9c2d4e866246ad73488f4e5d902.tar.bz2 | |
Ignore spill for certain system paths
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/beer_events.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Homebrew/beer_events.rb b/Library/Homebrew/beer_events.rb index 658d803c2..4d283b68c 100644 --- a/Library/Homebrew/beer_events.rb +++ b/Library/Homebrew/beer_events.rb @@ -170,6 +170,9 @@ begin spill = events.map { |e| e.files }.flatten spill.reject! { |f| File.mtime(f) < start } 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" } unless spill.empty? opoo "Detected installation of files outside the Homebrew prefix:" puts *spill |
