Fix bottling keg-only brews.
This commit is contained in:
parent
ba2d17b8d1
commit
d2a8df71ce
@ -18,7 +18,9 @@ def install_bottle? f
|
|||||||
end
|
end
|
||||||
|
|
||||||
def built_bottle? f
|
def built_bottle? f
|
||||||
Tab.for_formula(f).built_bottle
|
f = Formula.factory f unless f.kind_of? Formula
|
||||||
|
return false unless f.installed?
|
||||||
|
Tab.for_keg(f.installed_prefix).built_bottle
|
||||||
end
|
end
|
||||||
|
|
||||||
def bottle_current? f
|
def bottle_current? f
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user