From bb379b7c68dd21cd51892d4a01fcbc75ae38602a Mon Sep 17 00:00:00 2001 From: Nicolas Arenas Date: Thu, 14 Nov 2024 09:56:34 +0100 Subject: [PATCH] Fix repo path --- component-installer/component-installer.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/component-installer/component-installer.sh b/component-installer/component-installer.sh index 57ae6e3..26b5242 100644 --- a/component-installer/component-installer.sh +++ b/component-installer/component-installer.sh @@ -143,7 +143,7 @@ do echo "Instalando ogDhcp..." OGCORE_BRANCH=$(jq -r '.release' /opt/opengnsys/ogDhcp/installer/config.json) git_checkout_release "$OGDHCP_REPO" "$component_dir/repo" "$OGCORE_BRANCH" - cp $CONFIGS_DIR/$config_file $component_dir/repo/config_ogdhcp.json + cp $CONFIGS_DIR/$config_file $component_dir/repo/installer/config_ogdhcp.json cd $component_dir/repo/installer || exit chmod 755 ogdhcp_installer.sh ./ogdhcp_installer.sh @@ -154,7 +154,7 @@ do OGCORE_BRANCH=$(jq -r '.release' /opt/opengnsys/ogBoot/installer/config.json) echo "Instalando ogBoot..." git_checkout_release "$OGBOOT_REPO" "$component_dir/repo" "$OGCORE_BRANCH" - cp $CONFIGS_DIR/$config_file $component_dir/repo/config.json + cp $CONFIGS_DIR/$config_file $component_dir/repo/installer/config.json apt install -y python3 git vim cd $component_dir/repo/installer || exit python3 ogboot_installer.py