From b39a3ca02fe1607b95da1c51cf446c0dd52c26a9 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Wed, 24 Jun 2020 12:00:56 +0100 Subject: [PATCH] os/mac/utils/bottles: support ARM bottles. This will be eventually needed for Big Sur. --- Library/Homebrew/extend/os/mac/utils/bottles.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/extend/os/mac/utils/bottles.rb b/Library/Homebrew/extend/os/mac/utils/bottles.rb index 08e4fb26119de..99a22c3513777 100644 --- a/Library/Homebrew/extend/os/mac/utils/bottles.rb +++ b/Library/Homebrew/extend/os/mac/utils/bottles.rb @@ -6,7 +6,9 @@ class << self undef tag def tag - MacOS.version.to_sym + tag = MacOS.version.to_sym + tag = "#{tag}_arm".to_sym if Hardware::CPU.arm? + tag end end