Skip to content

Commit c8a13d3

Browse files
committed
restic fix;
1 parent 3afb47b commit c8a13d3

2 files changed

Lines changed: 3 additions & 13 deletions

File tree

cyberpanel.sh

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -420,18 +420,8 @@ EOF
420420

421421
## Copr for restic
422422

423-
cat << EOF > /etc/yum.repos.d/copr.repo
424-
[restic]
425-
name=Copr repo for restic owned by copart
426-
baseurl=https://download.copr.fedorainfracloud.org/results/copart/restic/epel-7-$basearch/
427-
type=rpm-md
428-
skip_if_unavailable=True
429-
gpgcheck=1
430-
gpgkey=https://download.copr.fedorainfracloud.org/results/copart/restic/pubkey.gpg
431-
repo_gpgcheck=0
432-
enabled=1
433-
enabled_metadata=1
434-
EOF
423+
yum install yum-plugin-copr -y
424+
yum copr enable copart/restic -y
435425

436426
## IUS Repo
437427

install/install.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2009,7 +2009,7 @@ def installRestic(self):
20092009
if os.path.exists(CentOSPath):
20102010

20112011
if self.distro == centos:
2012-
command = 'yum --enablerepo=restic install restic -y'
2012+
command = 'yum install restic -y'
20132013
preFlightsChecks.call(command, self.distro, command, command, 1, 0, os.EX_OSERR)
20142014
elif self.distro == cent8:
20152015

0 commit comments

Comments
 (0)