From 1177c43ad35fcf0fa4c26d83cdb71fc5c1217dc5 Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Mon, 13 Apr 2020 09:09:21 +0500 Subject: [PATCH] fed key --- cyberpanel.sh | 1 + install/install.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cyberpanel.sh b/cyberpanel.sh index 620082b7b..dece392a1 100644 --- a/cyberpanel.sh +++ b/cyberpanel.sh @@ -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 diff --git a/install/install.py b/install/install.py index 580ff417a..cf68c7e93 100755 --- a/install/install.py +++ b/install/install.py @@ -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: