This commit is contained in:
rperper
2018-10-26 14:24:28 -04:00
parent 0b62563aef
commit c2b09182c2
5 changed files with 171 additions and 128 deletions

View File

@@ -16,14 +16,13 @@ from stat import *
# There can not be peace without first a great suffering.
#self.distros
#distros
centos=0
ubuntu=1
class preFlightsChecks:
cyberPanelMirror = "mirror.cyberpanel.net/pip"
def __init__(self,rootPath,ip,path,cwd,cyberPanelPath,distro):
@@ -3102,7 +3101,6 @@ milter_default_action = accept
return 0
def get_distro():
distro = -1
distro_file = ""
@@ -3195,7 +3193,7 @@ def main():
import installCyberPanel
installCyberPanel.Main(cwd, mysql)
installCyberPanel.Main(cwd, mysql, distro)
checks.fix_selinux_issue()
checks.install_psmisc()
checks.install_postfix_davecot()