mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-22 07:30:24 +00:00
support redhat9
This commit is contained in:
parent
facb8a7adb
commit
f0b0aaff9f
1 changed files with 4 additions and 4 deletions
|
@ -86,14 +86,14 @@ if [ "$os_type" == 'CentOS' ] ;then
|
|||
fi
|
||||
|
||||
if [ "$os_type" == 'CentOS Stream' ] ;then
|
||||
if [ "$os_version" != "8" ]; then
|
||||
echo "This app only supported on CentOS Stream 8"
|
||||
if [ "$os_version" != "8" ] || [ "$os_version" != "9" ]; then
|
||||
echo "This app only supported on CentOS Stream 8,9"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "$os_type" == 'Rocky Linux' ] ;then
|
||||
if [ "${os_version:0:1}" == "8" ]; then
|
||||
if [ "${os_version:0:1}" == "8" ] || [ "${os_version:0:1}" == "9" ]; then
|
||||
echo ""
|
||||
else
|
||||
echo "This app only supported on Rocky Linux 8"
|
||||
|
@ -109,7 +109,7 @@ if [ "$os_type" == 'Fedora' ];then
|
|||
fi
|
||||
|
||||
if [ "$os_type" == 'Redhat' ];then
|
||||
if [ "${os_version:0:1}" != "7" ] && [ "${os_version:0:1}" != "8" ]; then
|
||||
if [ "${os_version:0:1}" != "7" ] && [ "${os_version:0:1}" != "8" ] && [ "${os_version:0:1}" != "9" ]; then
|
||||
echo "This app only supported on Redhat 7,8"
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue