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