mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-23 09:20:20 +08:00
Linux os limimt
This commit is contained in:
parent
4ef5255d14
commit
bddfada467
@ -121,8 +121,8 @@ if [ "$os_type" == 'Ubuntu' ];then
|
||||
fi
|
||||
|
||||
if [ "$os_type" == 'Debian' ];then
|
||||
if [ "$os_version" =~ ^[^10] ] ; then
|
||||
echo "This app only supported on Redhat 7,8"
|
||||
if [ "$os_version" != "11" ];then
|
||||
echo "This app only supported on Debian 11"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user