From fd471b7941b92b1fe0ba6467b57dd02f222149b0 Mon Sep 17 00:00:00 2001 From: lsy Date: Mon, 23 Sep 2024 16:23:14 +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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Config/Other/Reinstall.sh b/Config/Other/Reinstall.sh index d3f6179..3ccc8ec 100644 --- a/Config/Other/Reinstall.sh +++ b/Config/Other/Reinstall.sh @@ -28,7 +28,7 @@ done read -p "请选择需要安装的镜像序号:" pick if [[ $pick =~ [1-"${#imags_dick[@]}"\ ] ]];then - declare img=${imags_dick[${imags_arr[$pick]}]} + declare img=${imags_arr[$pick]} declare version='' declare -a version_arr declare version_number=0