Skip to content

Commit

Permalink
Update local_install.sh for darwin-arm64 hint
Browse files Browse the repository at this point in the history
  • Loading branch information
terasum committed Feb 2, 2021
1 parent 0edfdcb commit c22495a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/cluster/template/install/local_install.sh.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,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 c22495a

Please sign in to comment.