mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-01-16 04:22:05 +01:00
update python path
This commit is contained in:
@@ -526,12 +526,12 @@ class preFlightsChecks:
|
||||
|
||||
os.chdir("CyberCP")
|
||||
|
||||
command = "/usr/local/CyberCP/bin/python manage.py makemigrations"
|
||||
command = "/usr/local/CyberPanel/bin/python manage.py makemigrations"
|
||||
preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR)
|
||||
|
||||
##
|
||||
|
||||
command = "/usr/local/CyberCP/bin/python manage.py migrate"
|
||||
command = "/usr/local/CyberPanel/bin/python manage.py migrate"
|
||||
preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR)
|
||||
|
||||
if not os.path.exists("/usr/local/CyberCP/public"):
|
||||
|
||||
Reference in New Issue
Block a user