This commit is contained in:
Usman Nasir
2020-04-13 09:09:21 +05:00
parent 98b8b9c09c
commit 1177c43ad3
2 changed files with 3 additions and 2 deletions

View File

@@ -430,6 +430,7 @@ if [[ $SERVER_OS == "CentOS" ]] ; then
timeout 10 rpm --import https://copr-be.cloud.fedoraproject.org/results/copart/restic/pubkey.gpg
timeout 10 rpm --import https://rep8.cyberpanel.net/RPM-GPG-KEY-CP-EP-8
timeout 10 rpm --import https://rep8.cyberpanel.net/RPM-GPG-KEY-CP-GF-8
curl https://getfedora.org/static/fedora.gpg | gpg --import
yum clean all
yum update -y
yum autoremove epel-release -y

View File

@@ -1707,7 +1707,7 @@ imap_folder_list_limit = 0
if self.distro == centos:
command = 'yum -y install opendkim'
elif self.distro == cent8:
command = 'dnf --enablerepe=CyberPanel opendkim -y'
command = 'dnf --enablerepo=CyberPanel install opendkim -y'
else:
command = 'apt-get -y install opendkim'
@@ -1932,7 +1932,7 @@ milter_default_action = accept
if self.distro == centos:
command = 'yum --enablerepo=CyberPanel install restic -y'
else:
command = 'dnf --enablerepe=CyberPanel restic -y'
command = 'dnf --enablerepo=CyberPanel install restic -y'
preFlightsChecks.call(command, self.distro, command, command, 1, 0, os.EX_OSERR)
else: