Skip to content

Commit

Permalink
Rewrite arch to aarch64 when it is arm64 to match upstream URLS
Browse files Browse the repository at this point in the history
  • Loading branch information
jordemort authored and volf52 committed Mar 15, 2024
1 parent 7ddd43d commit 40e619c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/utils.bash
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,13 @@ download_release() {
get_arch() {
arch=$(uname -m | tr '[:upper:]' '[:lower:]')

# releases use "aarch64" instead of "arm64"
case $arch in
arm64)
arch='aarch64'
;;
esac

echo "$arch"
}

Expand Down

0 comments on commit 40e619c

Please sign in to comment.