File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -192,6 +192,18 @@ elif echo $OUTPUT | grep -q "CentOS Linux 8"; then
192192 rm -f /etc/yum.repos.d/epel.repo.rpmsave
193193 yum autoremove epel-release -y
194194 dnf install epel-release -y
195+ elif echo $OUTPUT | grep -q " CloudLinux 8" ; then
196+ rm -f /etc/yum.repos.d/CyberPanel.repo
197+ dnf --nogpg install -y https://mirror.ghettoforge.org/distributions/gf/el/8/gf/x86_64/gf-release-8-11.gf.el8.noarch.rpm
198+ echo -e " \nDetecting Cloudlinux 8.X...\n"
199+ SERVER_OS=" CentOS8"
200+ yum clean all
201+ yum update -y
202+ yum autoremove epel-release -y
203+ rm -f /etc/yum.repos.d/epel.repo
204+ rm -f /etc/yum.repos.d/epel.repo.rpmsave
205+ yum autoremove epel-release -y
206+ dnf install epel-release -y
195207elif echo $OUTPUT | grep -q " Ubuntu 18.04" ; then
196208 echo -e " \nDetecting Ubuntu 18.04...\n"
197209 SERVER_OS=" Ubuntu"
You can’t perform that action at this time.
0 commit comments