mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-04-07 14:04:35 +08:00
[run] Move
Move check to run
This commit is contained in:
@ -60,13 +60,13 @@ def check_dependencies():
|
||||
install_args += ['--mysql-path', unicode(checksResult.mysqlPath)]
|
||||
code = libwindows.sudo(unicode(sys.executable), install_args)
|
||||
|
||||
return dependence.check_MySQLConfig(checksResult.mysqlPath)
|
||||
|
||||
try:
|
||||
base.configure_common_apps()
|
||||
dependence.check_pythonPath()
|
||||
|
||||
check_dependencies()
|
||||
|
||||
if not dependence.check_MySQLConfig(checksResult.mysqlPath):
|
||||
if not check_dependencies():
|
||||
sys.exit()
|
||||
|
||||
platform = base.host_platform()
|
||||
|
||||
Reference in New Issue
Block a user