mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-07-07 22:13:09 +02:00
Update install.sh with CentOS 9 support
This commit is contained in:
11
install.sh
11
install.sh
@@ -11,6 +11,15 @@ elif echo $OUTPUT | grep -q "CentOS Linux 8" ; then
|
||||
SERVER_OS="CentOS8"
|
||||
yum install curl wget -y 1> /dev/null
|
||||
yum update curl wget ca-certificates -y 1> /dev/null
|
||||
elif echo $OUTPUT | grep -q "CentOS Stream" ; then
|
||||
echo -e "\nDetecting CentOS Stream...\n"
|
||||
SERVER_OS="CentOS9"
|
||||
yum update curl wget ca-certificates -y 1> /dev/null
|
||||
elif echo $OUTPUT | grep -q "Red Hat Enterprise Linux" ; then
|
||||
echo -e "\nDetecting Red Hat Enterprise Linux...\n"
|
||||
SERVER_OS="RHEL"
|
||||
yum install curl wget -y 1> /dev/null
|
||||
yum update curl wget ca-certificates -y 1> /dev/null
|
||||
elif echo $OUTPUT | grep -q "AlmaLinux 8" ; then
|
||||
echo -e "\nDetecting AlmaLinux 8...\n"
|
||||
SERVER_OS="CentOS8"
|
||||
@@ -56,4 +65,4 @@ rm -f cyberpanel.sh
|
||||
rm -f install.tar.gz
|
||||
curl --silent -o cyberpanel.sh "https://cyberpanel.sh/?dl&$SERVER_OS" 2>/dev/null
|
||||
chmod +x cyberpanel.sh
|
||||
./cyberpanel.sh $@
|
||||
./cyberpanel.sh $@
|
||||
|
||||
Reference in New Issue
Block a user