更新 setup.sh
This commit is contained in:
3
setup.sh
3
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
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user