From 2598fb4d562bbb05102866d4ddec38637d1cd0ed Mon Sep 17 00:00:00 2001 From: tsosunchia <59512455+tsosunchia@users.noreply.github.com> Date: Fri, 8 Dec 2023 17:31:43 +0800 Subject: [PATCH] =?UTF-8?q?686=E7=94=A8=E4=B8=80=E9=94=AE=E8=84=9A?= =?UTF-8?q?=E6=9C=AC=E4=B9=9F=E6=8C=87=E5=90=91386?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nt_install.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/nt_install.sh b/nt_install.sh index eae6154..20da5d4 100644 --- a/nt_install.sh +++ b/nt_install.sh @@ -26,6 +26,8 @@ checkSystemArch() { archParam="amd64" elif [[ $arch == "i386" ]]; then archParam="386" + elif [[ $arch == "i686" ]]; then + archParam="386" elif [[ $arch == "aarch64" ]]; then archParam="arm64" elif [[ $arch == "armv7l" ]] || [[ $arch == "armv7ml" ]]; then @@ -37,13 +39,13 @@ checkSystemArch() { checkSystemDistribution() { case "$OSTYPE" in - linux*) + linux*) osDistribution="linux" - - if [ ! -d "/usr/local" ]; - then + + if [ ! -d "/usr/local" ]; + then downPath="/usr/bin/nexttrace" - else + else downPath="/usr/local/bin/nexttrace" fi