Skip to content
Snippets Groups Projects
Unverified Commit 13e34ec9 authored by Steven Peters's avatar Steven Peters Committed by Mike McQuaid
Browse files

FormulaInstaller: rescue already attempted install

parent 6decac58
No related branches found
No related tags found
No related merge requests found
......@@ -598,6 +598,10 @@ class FormulaInstaller
oh1 "Installing #{formula.full_name} dependency: #{Formatter.identifier(dep.name)}"
fi.install
fi.finish
rescue FormulaInstallationAlreadyAttemptedError
# We already attempted to install f as part of the dependency tree of
# another formula. In that case, don't generate an error, just move on.
nil
rescue Exception # rubocop:disable Lint/RescueException
ignore_interrupts do
tmp_keg.rename(installed_keg) if tmp_keg && !installed_keg.directory?
......
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