diff --git a/installer/ogboot_installer.py b/installer/ogboot_installer.py index eb35053..0e8a357 100755 --- a/installer/ogboot_installer.py +++ b/installer/ogboot_installer.py @@ -459,12 +459,19 @@ def copyClientFiles(): logger.error(f"Error while copying client structure") errstatus = 1 - logger.info(f"Copying OpenGnsys Cloning Engine files.") + logger.info(f"Copying OpenGnsys Cloning Engine files in client library.") os.makedirs(f"{INSTALL_OGBOOT_TARGET}/client/lib/engine/bin", mode=0o775, exist_ok=True) if 0 != subprocess.run (['rsync', '-aH', f'{REPO_DIR}/client/engine/', f'{INSTALL_OGBOOT_TARGET}/client/lib/engine/bin/']).returncode: logger.error(f"Error while copying engine files") errstatus = 1 + logger.info(f"Copying OpenGnsys Cloning Engine files in client engine.") + os.makedirs(f"{INSTALL_OGBOOT_TARGET}/client/engine", mode=0o775, exist_ok=True) + if 0 != subprocess.run (['rsync', '-aH', f'{REPO_DIR}/client/engine/', f'{INSTALL_OGBOOT_TARGET}/client/engine/']).returncode: + logger.error(f"Error while copying engine files") + errstatus = 1 + + # Creación del archivo ogAdmClient.cfg try: template_path = os.path.join(REPO_DIR, "etc/ogAdmClient.cfg.tmpl")