Install: permit ARM-based Macs

This commit is contained in:
Misty De Meo 2020-06-22 12:55:59 -07:00
parent c1a23fc056
commit 89b42bc522

View File

@ -10,7 +10,7 @@ module Homebrew
module_function module_function
def check_cpu def check_cpu
return if Hardware::CPU.intel? && Hardware::CPU.is_64_bit? return if (Hardware::CPU.intel? && Hardware::CPU.is_64_bit?) || Hardware::CPU.arm?
message = "Sorry, Homebrew does not support your computer's CPU architecture!" message = "Sorry, Homebrew does not support your computer's CPU architecture!"
if Hardware::CPU.ppc? if Hardware::CPU.ppc?