refs #477 fix index error

ogboot_installer
Luis Gerardo Romero Garcia 2024-07-08 14:30:11 +02:00
parent bfc9856b19
commit dd629e54f5
1 changed files with 1 additions and 1 deletions

View File

@ -240,7 +240,7 @@ def generate_config_url():
def downloadComposer():
global WORKDIR, INSTALL_OGBOOT_TARGET
_______logger.info("Downloading composer.phar...")
logger.info("Downloading composer.phar...")
os.makedirs(os.path.join(WORKDIR, "ogboot", "bin"), mode=0o750, exist_ok=True)
subprocess.run(["curl", "-sS", "-o", os.path.join(WORKDIR, "ogboot", "bin", "composer.phar"), "https://getcomposer.org/installer"], check=True)
if not os.path.isfile(os.path.join(WORKDIR, "ogboot", "bin", "composer.phar")):