修复软件安装正则问题
This commit is contained in:
parent
8f7d0f4099
commit
b196fdacee
@ -58,7 +58,7 @@ if [[ -z $pick ]];then
|
||||
done
|
||||
else
|
||||
for i in $pick ; do
|
||||
if [[ ! $i =~ [1-${#soft_dick[@]}] ]]; then
|
||||
if [[ ! $i =~ [1-$soft_number] ]]; then
|
||||
echo "输入错误"
|
||||
exit
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user