Skip to content

Commit

Permalink
fix: support additional architecture aliases in download_supautils.sh…
Browse files Browse the repository at this point in the history
… script
  • Loading branch information
jhf committed Oct 29, 2024
1 parent 566ceea commit 3827da7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/download_supautils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ set -e
# Fallback to uname -m if TARGETARCH is not set
TARGETARCH=${TARGETARCH:-$(uname -m)}

if [ "$TARGETARCH" = "amd64" ]; then
if [ "$TARGETARCH" = "x86_64" ] || [ "$TARGETARCH" = "amd64" ]; then
CHECKSUM="${supautils_release_amd64_deb_checksum}"
ARCH="amd64"
elif [ "$TARGETARCH" = "arm64" ]; then
elif [ "$TARGETARCH" = "arm64" ] || [ "$TARGETARCH" = "aarch64" ]; then
CHECKSUM="${supautils_release_arm64_deb_checksum}"
ARCH="arm64"
else
Expand Down

0 comments on commit 3827da7

Please sign in to comment.