mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-18 03:01:01 +01:00
skip python-devel on cent8
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user