Skip to content
Snippets Groups Projects
Commit ee43c09f authored by Mike McQuaid's avatar Mike McQuaid
Browse files

install: set installed_{as_dependency,on_request}.

parent 16293c0a
No related branches found
No related tags found
No related merge requests found
......@@ -184,6 +184,14 @@ module Homebrew
# FormulaInstaller will handle this case.
formulae << f
end
# Even if we don't install this formula mark it as no longer just
# installed as a dependency.
next unless f.opt_prefix.directory?
keg = Keg.new(f.opt_prefix.resolved_path)
tab = Tab.for_keg(keg)
tab.installed_on_request = true
tab.write
end
perform_preinstall_checks
......
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