重写安装软件逻辑

This commit is contained in:
lsy 2024-09-23 14:59:37 +08:00
parent 29846aa2b5
commit 192a8a145f

View File

@ -47,7 +47,7 @@ done
read -p "请输入需要安装的软件序号,用 空格 隔开:" pick
if [[ ! $pick =~ [a-zA-Z\ ]+ ]];then
if [[ ! $pick =~ [1-"${#soft_dick[@]}"] ]];then
echo "输入错误"
exit
fi