cleanup: remove GLIDE_HOME cache directories

This is needed since some formulae now set

  ENV["GLIDE_HOME"] = HOMEBREW_CACHE/"glide_home/#{name}"
This commit is contained in:
ilovezfs 2016-10-08 10:05:04 -07:00
parent 1b677ab0ff
commit 5efb158860

View File

@ -50,7 +50,7 @@ module Homebrew
cleanup_path(path) { path.unlink }
next
end
if %w[java_cache npm_cache].include?(path.basename.to_s) && path.directory?
if %w[glide_home java_cache npm_cache].include?(path.basename.to_s) && path.directory?
cleanup_path(path) { FileUtils.rm_rf path }
next
end