From 906151d340fa2eb61a71852261c44eb5f741d549 Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Fri, 8 Nov 2019 11:08:33 +0500 Subject: [PATCH] bug fix: install --- install/install.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/install/install.py b/install/install.py index 29fa9ee1e..08138a487 100755 --- a/install/install.py +++ b/install/install.py @@ -3786,6 +3786,12 @@ milter_default_action = accept 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.',