Only update the cache for a formula if the cache is not empty?.
This commit is contained in:
parent
17f484b0ae
commit
ba5692f7e5
@ -612,7 +612,7 @@ class FormulaInstaller
|
|||||||
|
|
||||||
# Updates the cache for a particular formula after doing an install
|
# Updates the cache for a particular formula after doing an install
|
||||||
DatabaseCache.new(:linkage) do |database_cache|
|
DatabaseCache.new(:linkage) do |database_cache|
|
||||||
LinkageChecker.new(keg, database_cache, false, formula)
|
LinkageChecker.new(keg, database_cache, false, formula) unless database_cache.empty?
|
||||||
end
|
end
|
||||||
|
|
||||||
# let's reset Utils.git_available? if we just installed git
|
# let's reset Utils.git_available? if we just installed git
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user