Skip to content
Snippets Groups Projects
Commit b0dd3f4c authored by Andrew R. McBurney's avatar Andrew R. McBurney
Browse files

Update the invalidated cache after doing a formula install.

parent d3120c02
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,8 @@ require "debrew"
require "sandbox"
require "emoji"
require "development_tools"
require "cache_store"
require "linkage_checker"
class FormulaInstaller
include FormulaCellarChecks
......@@ -608,6 +610,11 @@ class FormulaInstaller
ohai "Summary" if verbose? || show_summary_heading?
puts summary
# Updates the cache for a particular formula after doing an install
DatabaseCache.new(:linkage) do |database_cache|
LinkageChecker.new(keg, database_cache, false, formula)
end
# let's reset Utils.git_available? if we just installed git
Utils.clear_git_available_cache if formula.name == "git"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment