From 49ed5e29148a8e9a7c8fe0ea4f49435f971f0f22 Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Thu, 12 Dec 2019 08:20:31 +0500 Subject: [PATCH] fall back --- install/install.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/install/install.py b/install/install.py index 012745d2c..36386ffa3 100755 --- a/install/install.py +++ b/install/install.py @@ -456,17 +456,11 @@ class preFlightsChecks: os.chdir('/usr/local') - command = 'rm -rf cyberpanel' - preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR) - command = "git clone https://github.com/usmannasir/cyberpanel" preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR) shutil.move('cyberpanel', 'CyberCP') - command = 'mv -v cyberpanel/* CyberCP/' - preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR) - ## ### update password: @@ -526,7 +520,7 @@ class preFlightsChecks: logging.InstallLog.writeToFile("settings.py updated!") - ##self.setupVirtualEnv(self.distro) + #self.setupVirtualEnv(self.distro) ### Applying migrations @@ -1626,7 +1620,7 @@ imap_folder_list_limit = 0 ## command = 'systemctl start lscpd' - preFlightsChecks.call(command, self.distro, command, command, 1, 0, os.EX_OSERR) + #preFlightsChecks.call(command, self.distro, command, command, 1, 0, os.EX_OSERR) preFlightsChecks.stdOut("LSCPD Daemon Set!")