修改重装

This commit is contained in:
lsy 2024-09-23 16:23:14 +08:00
parent 99909e8c14
commit fd471b7941

View File

@ -28,7 +28,7 @@ done
read -p "请选择需要安装的镜像序号:" pick read -p "请选择需要安装的镜像序号:" pick
if [[ $pick =~ [1-"${#imags_dick[@]}"\ ] ]];then if [[ $pick =~ [1-"${#imags_dick[@]}"\ ] ]];then
declare img=${imags_dick[${imags_arr[$pick]}]} declare img=${imags_arr[$pick]}
declare version='' declare version=''
declare -a version_arr declare -a version_arr
declare version_number=0 declare version_number=0