Skip to content

Commit

Permalink
Cleanup architecture mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
djarbz committed Oct 25, 2024
1 parent f35b535 commit a0373c0
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions kasmvnc/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,13 @@ case "$arch" in
arch="amd64"
fi
;;
aarch64 | arm64)
[[ "$distro" =~ ^(ubuntu|debian|kali)$ ]] && arch="arm64" || arch="aarch64"
aarch64)
if [[ "$distro" =~ ^(ubuntu|debian|kali)$ ]]; then
arch="arm64"
fi
;;
arm64)
: # This is effectively a noop
;;
*)
echo "ERROR: Unsupported architecture: $arch"
Expand Down

0 comments on commit a0373c0

Please sign in to comment.