diff --git a/install/install.sh b/install/install.sh index 64886005..fa5bb350 100644 --- a/install/install.sh +++ b/install/install.sh @@ -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