enable epel for cent8

This commit is contained in:
Usman Nasir
2020-06-08 00:20:05 +05:00
parent 5ac5a4605f
commit 2a19e842fc

View File

@@ -372,6 +372,7 @@ install_required() {
if [[ -d /etc/yum.repos.d ]] ; then
if [[ $CENTOS_8 == "True" ]] ; then
dnf install zip -y
dnf install epel-release -y
elif [[ $CENTOS_8 == "False" ]] ; then
curl https://raw.githubusercontent.com/usmannasir/cyberpanel/v2.0.1/install/CyberPanel.repo > /etc/yum.repos.d/CyberPanel.repo
fi