mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-01-30 11:19:03 +01:00
Update cyberpanel_upgrade.sh
This commit is contained in:
@@ -113,7 +113,9 @@ if ! uname -m | grep -qE 'x86_64|aarch64' ; then
|
||||
exit
|
||||
fi
|
||||
|
||||
if grep -q -E "CentOS Linux 7|CentOS Linux 8" /etc/os-release ; then
|
||||
if grep -q -E "CentOS Linux 7|CentOS Linux 8|CentOS Stream" /etc/os-release ; then
|
||||
Server_OS="CentOS"
|
||||
elif grep -q "Red Hat Enterprise Linux" /etc/os-release ; then
|
||||
Server_OS="CentOS"
|
||||
elif grep -q -E "CloudLinux 7|CloudLinux 8" /etc/os-release ; then
|
||||
Server_OS="CloudLinux"
|
||||
|
||||
Reference in New Issue
Block a user