refs #477 fix bug symfony execution

pull/4/head
Luis Gerardo Romero Garcia 2024-07-03 09:05:53 +02:00
parent a2d244f437
commit 0c19466263
1 changed files with 1 additions and 1 deletions

View File

@ -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