diff --git a/scripts/scheduler/entrypoint.sh b/scripts/scheduler/entrypoint.sh index 148d60e..2ab5d7c 100644 --- a/scripts/scheduler/entrypoint.sh +++ b/scripts/scheduler/entrypoint.sh @@ -164,7 +164,7 @@ get_repositories(){ check_installer_key BASE=$(basename $REPO | cut -d '.' -f1) - if [ ! -f "/tmp/$BASE" ]; then + if [ ! -d "/tmp/$BASE" ]; then git clone $REPO /tmp/$BASE; else git pull $REPO /tmp/$BASE;