Merge pull request #9138 from EricFromCanada/cache-path-cleaned
cleanup.rb: ensure cache exists before touching .cleaned
This commit is contained in:
commit
82e1b27624
@ -168,6 +168,7 @@ module Homebrew
|
||||
return false if Homebrew::EnvConfig.no_install_cleanup?
|
||||
|
||||
unless PERIODIC_CLEAN_FILE.exist?
|
||||
HOMEBREW_CACHE.mkpath
|
||||
FileUtils.touch PERIODIC_CLEAN_FILE
|
||||
return false
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user