skip python-devel on cent8

This commit is contained in:
Usman Nasir
2019-12-18 13:23:52 +05:00
parent f60f1d62d1
commit 2a995f477e

View File

@@ -382,11 +382,13 @@ 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)
def install_gcc(self):
self.stdOut("Install gcc")