修复安装软件错误

This commit is contained in:
lsy 2024-09-23 18:53:17 +08:00
parent 910f8c1dad
commit e9f55a5cf5

View File

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