install: set installed_{as_dependency,on_request}.
This commit is contained in:
parent
16293c0a68
commit
ee43c09f7a
@ -184,6 +184,14 @@ module Homebrew
|
|||||||
# FormulaInstaller will handle this case.
|
# FormulaInstaller will handle this case.
|
||||||
formulae << f
|
formulae << f
|
||||||
end
|
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
|
end
|
||||||
|
|
||||||
perform_preinstall_checks
|
perform_preinstall_checks
|
||||||
|
Loading…
x
Reference in New Issue
Block a user