summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Knaack <davidkna@users.noreply.github.com>2021-01-29 22:54:36 +0100
committerGitHub <noreply@github.com>2021-01-29 16:54:36 -0500
commit6bb79039a33bbfd0a822cfce67cc1d67e44d6a5f (patch)
tree17f6888ea8f3b55f9b31c29ccca9bc5673c8c8b5
parent511bd853d609b516230c1ac044f7741dd5106a7c (diff)
fix(install): use correct arch name in 32-bit test (#2234)
-rwxr-xr-xinstall/install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/install.sh b/install/install.sh
index ff689c5b2..c5a3b83a8 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