From 353ffc7a413b888873a77e65899297cc99aaee22 Mon Sep 17 00:00:00 2001 From: Gyurix Date: Wed, 28 Aug 2024 09:45:00 +0200 Subject: [PATCH] check_installer_key mod --- scripts/scheduler/entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/scheduler/entrypoint.sh b/scripts/scheduler/entrypoint.sh index 7f3683c..e87f2f9 100644 --- a/scripts/scheduler/entrypoint.sh +++ b/scripts/scheduler/entrypoint.sh @@ -173,11 +173,11 @@ get_repositories(){ local BASE; local TREES=""; + check_installer_key + REPOS=$(jq -r .repositories[] /etc/user/config/repositories.json); # list of repos, delimiter by space for REPO in $REPOS; do - check_installer_key - BASE=$(basename $REPO | cut -d '.' -f1) if [ ! -d "/tmp/$BASE" ]; then git clone $REPO /tmp/$BASE;