From 2cc3ce1ea12956f7bdebb176038eb7e4b6136546 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 21:21:59 +0200 Subject: [PATCH] Update komodo.sh (#7202) --- ct/komodo.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ct/komodo.sh b/ct/komodo.sh index 66d29f3ff8..a632ea4b8c 100644 --- a/ct/komodo.sh +++ b/ct/komodo.sh @@ -56,8 +56,8 @@ 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 + if ! grep -qxF 'COMPOSE_KOMODO_BACKUPS_PATH=/etc/komodo/backups' /opt/komodo/compose.env; then + sed -i '/^COMPOSE_KOMODO_IMAGE_TAG=latest$/a COMPOSE_KOMODO_BACKUPS_PATH=/etc/komodo/backups' /opt/komodo/compose.env fi $STD docker compose -p komodo -f "$COMPOSE_FILE" --env-file /opt/komodo/compose.env up -d msg_ok "Updated ${APP}"