From 05a4fcd471c0af0901e5b0990aba65d3c22de6da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Slavi=C5=A1a=20Are=C5=BEina?= <58952836+tremor021@users.noreply.github.com> Date: Mon, 25 Aug 2025 20:02:37 +0200 Subject: [PATCH] Fix update (#7198) --- ct/komodo.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ct/komodo.sh b/ct/komodo.sh index 5149c7fd39..66d29f3ff8 100644 --- a/ct/komodo.sh +++ b/ct/komodo.sh @@ -56,6 +56,9 @@ function update_script() { mv "$BACKUP_FILE" "$COMPOSE_FILE" exit 1 fi + if ! grep -qxF 'COMPOSE_KOMODO_BACKUPS_PATH=/etc/komodo/backups' compose.env; then + sed -i '/^COMPOSE_KOMODO_IMAGE_TAG=latest$/a COMPOSE_KOMODO_BACKUPS_PATH=/etc/komodo/backups' compose.env + fi $STD docker compose -p komodo -f "$COMPOSE_FILE" --env-file /opt/komodo/compose.env up -d msg_ok "Updated ${APP}" exit