mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-01-28 02:09:03 +01:00
fed key
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user