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