修改重装
This commit is contained in:
parent
fd471b7941
commit
debee99f00
@ -41,9 +41,9 @@ if [[ $pick =~ [1-"${#imags_dick[@]}"\ ] ]];then
|
|||||||
done
|
done
|
||||||
read -p "请输入:" pick
|
read -p "请输入:" pick
|
||||||
if [ -z $pick ]; then
|
if [ -z $pick ]; then
|
||||||
version=$version_arr[$version_number]
|
version=${version_arr[$version_number]}
|
||||||
elif [[ $pick =~ [1-$version_number] ]];then
|
elif [[ $pick =~ [1-$version_number] ]];then
|
||||||
version=$version_arr[$pick]
|
version=${version_arr[$pick]}
|
||||||
fi
|
fi
|
||||||
echo "bash <(curl -Ls ${server}) ${img} ${version}"
|
echo "bash <(curl -Ls ${server}) ${img} ${version}"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user