Utils::Bottles::tag: ARM tag is arm_big_sur

This commit is contained in:
Shaun Jackman 2020-07-08 09:41:12 -07:00
parent 28f4a700ac
commit e18027a1a8

View File

@ -6,9 +6,11 @@ module Utils
undef tag
def tag
tag = MacOS.version.to_sym
tag = "#{tag}_arm".to_sym if Hardware::CPU.arm?
tag
if Hardware::CPU.intel?
MacOS.version.to_sym
else
"#{ENV["HOMEBREW_PROCESSOR"]}_#{MacOS.version.to_sym}".to_sym
end
end
end