From 06658b59d3c268108e7a787e75899a51bd7efd63 Mon Sep 17 00:00:00 2001 From: gyurix Date: Thu, 29 May 2025 11:22:57 +0200 Subject: [PATCH] Remove installation of empty file and simplify deployment structure in entrypoint script --- scripts/scheduler/entrypoint.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scripts/scheduler/entrypoint.sh b/scripts/scheduler/entrypoint.sh index 4dd3c0b..3ea0875 100644 --- a/scripts/scheduler/entrypoint.sh +++ b/scripts/scheduler/entrypoint.sh @@ -111,8 +111,6 @@ create_htpasswd_file() { fi } -install -m 664 -g 65534 /dev/null - deploy_additionals() { local DIR="$1" @@ -805,13 +803,12 @@ execute_task() { for APP in $APPS; do APP_NAME=$(echo "$APP" | jq -r '.name') APP_VERSION=$(echo "$APP" | jq -r '.version') - APP_ICON=$(echo "$APP" | jq -r '.icon') if [ "$DEPLOYMENTS" != "" ]; then SEP="," else SEP="" fi - DEPLOYMENTS=$DEPLOYMENTS$SEP'"'$APP_NAME'": {"version": "'$APP_VERSION'", "icon": "'$APP_ICON'"}' + DEPLOYMENTS=$DEPLOYMENTS$SEP'"'$APP_NAME'": "'$APP_VERSION'"' done done if [ "$DEPLOYMENTS" == "" ]; then