formula_installer: set tap source for bottles.
This defaults to the value that's in the bottle but that isn't necessarily correct. For example, some Boxen modules will reuse our old bottles and so if they are installed from there we should be sure to set the tab's tap to the tap we've installed from rather than the one set inside the bottle's tarball. Closes Homebrew/homebrew#40096. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
f55257306e
commit
fc5070c252
@ -631,6 +631,7 @@ class FormulaInstaller
|
||||
)
|
||||
|
||||
tab = Tab.for_keg(formula.prefix)
|
||||
tab.tap = formula.tap
|
||||
tab.poured_from_bottle = true
|
||||
tab.write
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user