Skip to content

Commit

Permalink
bug fix: install
Browse files Browse the repository at this point in the history
  • Loading branch information
usmannasir committed Nov 8, 2019
1 parent 65ce3e5 commit 906151d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions install/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -3786,6 +3786,12 @@ def installRestic(self):
CentOSPath = '/etc/redhat-release'

if os.path.exists(CentOSPath):

command = 'yum install yum-utils -y'
preFlightsChecks.call(command, self.distro, '[installRestic]',
'Add restic repo.',
1, 0, os.EX_OSERR)

command = 'yum-config-manager --add-repo https://copr.fedorainfracloud.org/coprs/copart/restic/repo/epel-7/copart-restic-epel-7.repo'
preFlightsChecks.call(command, self.distro, '[installRestic]',
'Add restic repo.',
Expand Down

0 comments on commit 906151d

Please sign in to comment.