Linux os limimt

This commit is contained in:
qiaofeng1227 2023-07-29 13:00:57 +08:00
parent 4ef5255d14
commit bddfada467

View File

@ -121,8 +121,8 @@ if [ "$os_type" == 'Ubuntu' ];then
fi fi
if [ "$os_type" == 'Debian' ];then if [ "$os_type" == 'Debian' ];then
if [ "$os_version" =~ ^[^10] ] ; then if [ "$os_version" != "11" ];then
echo "This app only supported on Redhat 7,8" echo "This app only supported on Debian 11"
exit 1 exit 1
fi fi
fi fi