diff --git a/cyberpanel.sh b/cyberpanel.sh index 91be219c5..ef33f9bdc 100644 --- a/cyberpanel.sh +++ b/cyberpanel.sh @@ -420,18 +420,8 @@ EOF ## Copr for restic - cat << EOF > /etc/yum.repos.d/copr.repo -[restic] -name=Copr repo for restic owned by copart -baseurl=https://download.copr.fedorainfracloud.org/results/copart/restic/epel-7-$basearch/ -type=rpm-md -skip_if_unavailable=True -gpgcheck=1 -gpgkey=https://download.copr.fedorainfracloud.org/results/copart/restic/pubkey.gpg -repo_gpgcheck=0 -enabled=1 -enabled_metadata=1 -EOF + yum install yum-plugin-copr -y + yum copr enable copart/restic -y ## IUS Repo diff --git a/install/install.py b/install/install.py index 8d8e8d65b..d350ab456 100755 --- a/install/install.py +++ b/install/install.py @@ -2009,7 +2009,7 @@ milter_default_action = accept if os.path.exists(CentOSPath): if self.distro == centos: - command = 'yum --enablerepo=restic install restic -y' + command = 'yum install restic -y' preFlightsChecks.call(command, self.distro, command, command, 1, 0, os.EX_OSERR) elif self.distro == cent8: