From 2a995f477ea3c2a6a2aabffe166c37af98d7ab1f Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Wed, 18 Dec 2019 13:23:52 +0500 Subject: [PATCH] skip python-devel on cent8 --- install/install.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install/install.py b/install/install.py index 912698afc..23570485f 100755 --- a/install/install.py +++ b/install/install.py @@ -382,10 +382,12 @@ class preFlightsChecks: if self.distro == centos: command = "yum -y install python-devel" + preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR) elif self.distro == ubuntu: command = "apt-get -y install python-dev" + preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR) + - preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR) def install_gcc(self): self.stdOut("Install gcc")