Skip to content

Commit

Permalink
#42: improve arch detection
Browse files Browse the repository at this point in the history
  • Loading branch information
pirog committed May 3, 2024
1 parent 8d2f8f2 commit 912aa7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup-lando.sh
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ tty_yellow="$(tty_escape 33)"

get_installer_arch() {
local arch
arch="$(/usr/bin/uname -m)"
arch="$(/usr/bin/uname -m || /usr/bin/arch || uname -m || arch)"
if [[ "${arch}" == "arm64" ]] || [[ "${arch}" == "aarch64" ]]; then
INSTALLER_ARCH="arm64"
elif [[ "${arch}" == "x86_64" ]] || [[ "${arch}" == "x64" ]]; then
Expand Down

0 comments on commit 912aa7b

Please sign in to comment.