修复安装软件错误

This commit is contained in:
lsy 2024-09-23 18:51:36 +08:00
parent 824c166209
commit 910f8c1dad

View File

@ -55,7 +55,7 @@ if [[ -z $pick ]];then
pick="$i"
fi
done
elif [[ ! $pick =~ [1-$soft_number\ ] ]];then
elif [[ ! $pick =~ [1-${#soft_dick[@]}\ ]+ ]];then
echo "输入错误"
exit
fi