修复安装软件错误

This commit is contained in:
lsy 2024-09-23 19:01:48 +08:00
parent e9f55a5cf5
commit d73a9e969b

View File

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