Skip to content

Commit

Permalink
build: support m1 macs install (#2789)
Browse files Browse the repository at this point in the history
  • Loading branch information
AuHau authored Feb 2, 2022
1 parent e08f8de commit b6e1b28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ run_as_root() {
}

supported() {
local supported="darwin-amd64\nlinux-386\nlinux-amd64\nlinux-arm64\nlinux-armv6"
local supported="darwin-arm64\ndarwin-amd64\nlinux-386\nlinux-amd64\nlinux-arm64\nlinux-armv6"
if ! echo "${supported}" | grep -q "${OS}-${ARCH}"; then
if [ $OS == "windows" ]; then
echo "Auto install not supported for Windows."
Expand Down

0 comments on commit b6e1b28

Please sign in to comment.