From 1d79dedf6d24f70a99ff3e28f28463068befb5dd Mon Sep 17 00:00:00 2001 From: Caleb John Date: Wed, 22 Jul 2020 16:16:42 -0600 Subject: [PATCH] Fix architecture check to only search within machine details (#3512) --- Joplin_install_and_update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Joplin_install_and_update.sh b/Joplin_install_and_update.sh index eabfc8eedb..f1e6d04110 100755 --- a/Joplin_install_and_update.sh +++ b/Joplin_install_and_update.sh @@ -90,7 +90,7 @@ showLogo #----------------------------------------------------- print "Checking architecture..." ## uname actually gives more information than needed, but it contains all architectures (hardware and software) -ARCHITECTURE=$(uname -a || echo "NO CHECK") +ARCHITECTURE=$(uname -m -p -i || echo "NO CHECK") if [[ $ARCHITECTURE = "NO CHECK" ]] ; then print "${COLOR_YELLOW}WARNING: Can't get system architecture, skipping check${COLOR_RESET}"