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:
parent
1b677ab0ff
commit
5efb158860
@ -50,7 +50,7 @@ module Homebrew
|
|||||||
cleanup_path(path) { path.unlink }
|
cleanup_path(path) { path.unlink }
|
||||||
next
|
next
|
||||||
end
|
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 }
|
cleanup_path(path) { FileUtils.rm_rf path }
|
||||||
next
|
next
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user