Install: permit ARM-based Macs
This commit is contained in:
parent
c1a23fc056
commit
89b42bc522
@ -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?
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user