diff --git a/install/install.py b/install/install.py index a3623c7a9..012745d2c 100755 --- a/install/install.py +++ b/install/install.py @@ -456,6 +456,9 @@ 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)