Skip to content

Commit 5ee72b3

Browse files
authored
Update install.sh
Support ARM
1 parent 309af34 commit 5ee72b3

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

install.sh

+2-11
Original file line numberDiff line numberDiff line change
@@ -551,18 +551,9 @@ then
551551
abort "Homebrew is only supported on Intel and ARM processors!"
552552
fi
553553
else
554-
# On Linux, support only 64-bit Intel
555-
if [[ "${UNAME_MACHINE}" == "aarch64" ]]
554+
if [[ "${UNAME_MACHINE}" != "x86_64" ]] && [[ "${UNAME_MACHINE}" != "aarch64" ]]
556555
then
557-
abort "$(
558-
cat <<EOABORT
559-
Homebrew on Linux is not supported on ARM processors.
560-
${tty_underline}https://docs.brew.sh/Homebrew-on-Linux#arm-unsupported${tty_reset}
561-
EOABORT
562-
)"
563-
elif [[ "${UNAME_MACHINE}" != "x86_64" ]]
564-
then
565-
abort "Homebrew on Linux is only supported on Intel processors!"
556+
abort "Homebrew on Linux is only supported on Intel & ARM processors!"
566557
fi
567558
fi
568559

0 commit comments

Comments
 (0)