Skip to content
This repository was archived by the owner on Mar 4, 2024. It is now read-only.

Commit

Permalink
Update install.sh
Browse files Browse the repository at this point in the history
added a condition for detecting ARM on Ubuntu
  • Loading branch information
shoffman-percona authored Mar 1, 2024
1 parent 6aba595 commit d7e40be
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ arch=$(uname -m | tr '[:upper:]' '[:lower:]')
if [[ ($os == "linux" || $os == "darwin") && $arch == "x86_64" ]]
then
arch="amd64"
elif [[ $os == "linux" && $arch == "aarch64" ]]
# linux on ARM (tested on Ubuntu 22.10 for ARM64)
then
arch="arm64"
fi


Expand Down

0 comments on commit d7e40be

Please sign in to comment.