From 60fa93ab47e96fb99a864b3805572f209003383b Mon Sep 17 00:00:00 2001 From: Dan Schaper Date: Wed, 23 Dec 2020 14:59:28 -0800 Subject: [PATCH] Add fallback for arch detection on i386/x86_64 Signed-off-by: Dan Schaper --- automated install/basic-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index 45e96354..353899c8 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -2451,7 +2451,7 @@ get_binary_name() { elif [[ "${machine}" == "x86_64" ]]; then # This gives the processor of packages dpkg installs (for example, "i386") local dpkgarch - dpkgarch=$(dpkg --print-processor 2> /dev/null || true) + dpkgarch=$(dpkg --print-processor 2> /dev/null || dpkg --print-architecture 2> /dev/null) # Special case: This is a 32 bit OS, installed on a 64 bit machine # -> change machine processor to download the 32 bit executable