initial almalinux test
This commit is contained in:
parent
3638ea94f2
commit
adcd21c201
17
install.sh
17
install.sh
|
|
@ -11,21 +11,16 @@ 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 install wget -y 1> /dev/null
|
||||
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 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"
|
||||
yum install curl wget -y 1> /dev/null
|
||||
yum update curl wget ca-certificates -y 1> /dev/null
|
||||
elif echo $OUTPUT | grep -q "AlmaLinux 9" ; then
|
||||
echo -e "\nDetecting AlmaLinux 9...\n"
|
||||
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 "CloudLinux 7" ; then
|
||||
echo "Checking and installing curl and wget"
|
||||
yum install curl wget -y 1> /dev/null
|
||||
|
|
@ -66,4 +61,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 $@
|
||||
Loading…
Reference in New Issue