refs #477 fix bug symfony execution
parent
a2d244f437
commit
0c19466263
|
@ -387,7 +387,7 @@ def og_boot_copy_files(path_opengnsys_base):
|
|||
|
||||
def og_boot_composer_install(path_opengnsys_base):
|
||||
# Ejecutar Composer como el usuario 'ogboot' para instalar el proyecto Symfony
|
||||
result = subprocess.run(["sudo", "-u", "ogboot", "./bin/composer.phar", "install", "--no-interaction", "--working-dir", path_opengnsys_base])
|
||||
result = subprocess.run(["sudo", "-u", "ogboot", "/opt/ogboot/bin/composer.phar", "install", "--no-interaction", "--working-dir", path_opengnsys_base])
|
||||
if result.returncode != 0:
|
||||
logger.error("Error creating Symfony project using Composer")
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue