Merge pull request #12327 from Bo98/formulary-force-bottle
formulary: fix keg resolving not setting force_bottle
This commit is contained in:
commit
f24016bccc
@ -450,7 +450,7 @@ module Formulary
|
|||||||
keg = kegs.find(&:linked?) || kegs.find(&:optlinked?) || kegs.max_by(&:version)
|
keg = kegs.find(&:linked?) || kegs.find(&:optlinked?) || kegs.max_by(&:version)
|
||||||
|
|
||||||
if keg
|
if keg
|
||||||
from_keg(keg, spec, alias_path: alias_path)
|
from_keg(keg, spec, alias_path: alias_path, force_bottle: force_bottle, flags: flags)
|
||||||
else
|
else
|
||||||
factory(rack.basename.to_s, spec || :stable, alias_path: alias_path, from: :rack,
|
factory(rack.basename.to_s, spec || :stable, alias_path: alias_path, from: :rack,
|
||||||
force_bottle: force_bottle, flags: flags)
|
force_bottle: force_bottle, flags: flags)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user