bottles: remove legacy tab handling.

References Homebrew/homebrew#20716.
This commit is contained in:
Mike McQuaid 2013-06-27 10:09:18 +01:00
parent 52574240af
commit 49acf70813

View File

@ -30,8 +30,7 @@ end
def built_as_bottle? f def built_as_bottle? f
return false unless f.installed? return false unless f.installed?
tab = Tab.for_keg(f.installed_prefix) tab = Tab.for_keg(f.installed_prefix)
# Need to still use the old "built_bottle" until all bottles are updated. tab.built_as_bottle
tab.built_as_bottle or tab.built_bottle
end end
def bottle_current? f def bottle_current? f