diff --git a/cyberpanel.sh b/cyberpanel.sh index 30b65edb9..fc6a26fc0 100644 --- a/cyberpanel.sh +++ b/cyberpanel.sh @@ -418,18 +418,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 c2f07d159..9ffd6c02f 100755 --- a/install/install.py +++ b/install/install.py @@ -2036,7 +2036,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: