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;