From 6bb79039a33bbfd0a822cfce67cc1d67e44d6a5f Mon Sep 17 00:00:00 2001 From: David Knaack Date: Fri, 29 Jan 2021 22:54:36 +0100 Subject: [PATCH] fix(install): use correct arch name in 32-bit test (#2234) --- install/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/install.sh b/install/install.sh index ff689c5b..c5a3b83a 100755 --- a/install/install.sh +++ b/install/install.sh @@ -202,7 +202,7 @@ detect_arch() { esac # `uname -m` in some cases mis-reports 32-bit OS as 64-bit, so double check - if [ "${arch}" = "x64" ] && [ "$(getconf LONG_BIT)" -eq 32 ]; then + if [ "${arch}" = "x86_64" ] && [ "$(getconf LONG_BIT)" -eq 32 ]; then arch=i686 elif [ "${arch}" = "aarch64" ] && [ "$(getconf LONG_BIT)" -eq 32 ]; then arch=arm