cleanup: make cache directory for clean file.

This means the `.cleaned` file is correctly created for periodic
cleanup handling.
This commit is contained in:
Mike McQuaid 2019-01-08 21:19:49 +00:00
parent 8acb183456
commit ea0fca9511
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70

View File

@ -194,6 +194,7 @@ module Homebrew
cleanup_old_cache_db
rm_ds_store
prune_prefix_symlinks_and_directories
HOMEBREW_CACHE.mkpath
FileUtils.touch PERIODIC_CLEAN_FILE
else
args.each do |arg|