From 09d6e73b0a41b24530587c0b2526be838048a376 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Mon, 13 Feb 2017 14:42:11 +0100 Subject: [PATCH] Don't print error message on 32bit platforms --- automated install/basic-install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index d7e14420..da69421e 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -1180,7 +1180,9 @@ FTLdownload() { binary="pihole-FTL-linux-x86_64" else # Something else - we try to use 32bit executable and warn the user - echo "Not able to detect architecture" + if [[ ! $machine == i686 ]]; then + echo "Not able to detect architecture, trying 32bit executable" + fi binary="pihole-FTL-linux-x86_32" fi