Skip to content

Commit

Permalink
Add darwin-arm64 not support hint for install.sh
Browse files Browse the repository at this point in the history
The darwin-arm64 is not supported currently, and add some friendly hint.
  • Loading branch information
terasum authored Feb 2, 2021
1 parent dc3a20e commit 0edfdcb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ if [ -z "$arch" ]; then
exit 1
fi

if [ "$os-$arch" == "darwin-arm64" ]; then
echo "Architecture darwin-arm64 not supported." >&2
exit 1
fi

if [ -z "$TIUP_HOME" ]; then
TIUP_HOME=$HOME/.tiup
fi
Expand Down

0 comments on commit 0edfdcb

Please sign in to comment.