From 0205a44ceb7fbde25c1d3ad4128e14b28a75b258 Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Wed, 18 Dec 2019 16:37:12 +0500 Subject: [PATCH] change function loc --- install/install.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/install/install.py b/install/install.py index 32884e34a..124b8c7f2 100755 --- a/install/install.py +++ b/install/install.py @@ -1413,8 +1413,7 @@ imap_folder_list_limit = 0 command = "apt-get -y install libpcre3 libpcre3-dev openssl libexpat1 libexpat1-dev libgeoip-dev" \ " zlib1g zlib1g-dev libudns-dev whichman curl" else: - command = 'yum -y install pcre-devel openssl-devel expat-devel geoip-devel zlib-devel udns-devel' \ - ' which curl' + command = 'yum -y install pcre-devel openssl-devel expat-devel geoip-devel zlib-devel udns-devel' preFlightsChecks.call(command, self.distro, command, command, 1, 0, os.EX_OSERR) @@ -1457,8 +1456,6 @@ imap_folder_list_limit = 0 pass # self.setupComodoRules() - self.setupPort() - self.setupPythonWSGI() logging.InstallLog.writeToFile("LSCPD successfully installed!") @@ -2285,6 +2282,8 @@ def main(): checks.modSecPreReqs() checks.installLSCPD() + checks.setupPort() + checks.setupPythonWSGI() checks.setupLSCPDDaemon() checks.fixCyberPanelPermissions()