Skip to content
Permalink
Browse files
restic fix;
  • Loading branch information
usmannasir committed Sep 8, 2020
1 parent 3afb47b commit c8a13d30e9b8474994fb7f33c18dcc040acff3cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
@@ -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

@@ -2009,7 +2009,7 @@ def installRestic(self):
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:

0 comments on commit c8a13d3

Please sign in to comment.