From 13792c5472ef18d567cab7b78b5312ef184c4c07 Mon Sep 17 00:00:00 2001 From: usmannasir Date: Sun, 18 Feb 2024 15:48:33 +0500 Subject: [PATCH] bug fix mariadb install on ALMALINUX ref https://github.com/usmannasir/cyberpanel/issues/1219 --- install/installCyberPanel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/installCyberPanel.py b/install/installCyberPanel.py index 361101d85..00f6754fe 100755 --- a/install/installCyberPanel.py +++ b/install/installCyberPanel.py @@ -40,7 +40,7 @@ def get_Ubuntu_release(): def FetchCloudLinuxVersion(): if os.path.exists('/etc/os-release'): data = open('/etc/os-release', 'r').read() - if (data.find('CloudLinux') > -1 or data.find('cloudlinux') > -1) and (data.find('8.9') > -1 or data.find('Anatoly Levchenko') > -1): + if (data.find('CloudLinux') > -1 or data.find('cloudlinux') > -1 or data.find('AlmaLinux') > -1 or data.find('almalinux')) and (data.find('8.9') > -1 or data.find('Anatoly Levchenko') > -1 or data.find('Midnight Oncill') > -1): return 89 elif (data.find('CloudLinux') > -1 or data.find('cloudlinux') > -1) and (data.find('8.8') > -1 or data.find('Anatoly Filipchenko') > -1): return 88