From dd7d467631676f81c07d24cb0e63aa7f0492e9a7 Mon Sep 17 00:00:00 2001 From: adminroot Date: Sat, 25 Oct 2025 19:50:26 -0700 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20setup.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- setup.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setup.sh b/setup.sh index 0e51493..655670c 100644 --- a/setup.sh +++ b/setup.sh @@ -91,7 +91,6 @@ for choice in $choices; do read -t 30 -p "Conda安装路径 (默认: ~/.miniconda3): " CONDA_PATH CONDA_PATH=${CONDA_PATH:-"$HOME/.miniconda3"} PROFILE="$HOME/.bashrc" - ARCH=$(uname -m) case $ARCH in x86_64) MINICONDA_INSTALLER="Miniconda3-latest-Linux-x86_64.sh" @@ -100,7 +99,7 @@ for choice in $choices; do MINICONDA_INSTALLER="Miniconda3-latest-Linux-aarch64.sh" ;; *) - echo "不支持的架构: $ARCH" + echo "不支持的架构: $ARCH" echo "支持的架构: x86_64, aarch64, armv7l" exit 1 ;;