Update Leopard/Tiger bottle tags
* PPC bottles are in the os_cpu format, e.g. :tiger_g3 * Intel bottles are the bare cat, as usual * 64-bit bottles have _64 appended to them, e.g. :tiger_g5_64 or :leopard_64
This commit is contained in:
parent
b7000aec37
commit
28c9330abb
@ -81,7 +81,13 @@ def bottle_tag
|
||||
when "10.6"
|
||||
Hardware::CPU.is_64_bit? ? :snow_leopard : :snow_leopard_32
|
||||
else
|
||||
Hardware::CPU.type == :ppc ? Hardware::CPU.family : MacOS.cat
|
||||
# Return, e.g., :tiger_g3, :leopard_g5_64, :leopard_64 (which is Intel)
|
||||
if Hardware::CPU.type == :ppc
|
||||
tag = "#{MacOS.cat}_#{Hardware::CPU.family}".to_sym
|
||||
else
|
||||
tag = MacOS.cat
|
||||
end
|
||||
MacOS.prefer_64_bit? ? "#{tag}_64".to_sym : tag
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user