From debee99f003666e66e71b7db4bab9428ab829743 Mon Sep 17 00:00:00 2001 From: lsy Date: Mon, 23 Sep 2024 16:24:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=87=8D=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Config/Other/Reinstall.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Config/Other/Reinstall.sh b/Config/Other/Reinstall.sh index 3ccc8ec..2b5f3a7 100644 --- a/Config/Other/Reinstall.sh +++ b/Config/Other/Reinstall.sh @@ -41,9 +41,9 @@ if [[ $pick =~ [1-"${#imags_dick[@]}"\ ] ]];then done read -p "请输入:" pick if [ -z $pick ]; then - version=$version_arr[$version_number] + version=${version_arr[$version_number]} elif [[ $pick =~ [1-$version_number] ]];then - version=$version_arr[$pick] + version=${version_arr[$pick]} fi echo "bash <(curl -Ls ${server}) ${img} ${version}" fi