restic fix;
This commit is contained in:
parent
321d9f6d68
commit
6962f951f2
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue