From 6eb603205a4954abca79c83ef3ff15e174cb9718 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Thu, 11 Jun 2026 16:19:36 +0000 Subject: [PATCH] fix(update): make update.sh executable and fix Pulled grep pattern - Add +x permission to update.sh (was causing systemd 203/EXEC failure) - Remove $ anchor from grep so trailing space in docker output is matched - Add .data/ to .gitignore Co-Authored-By: Claude Sonnet 4.6 --- .gitignore | 3 ++- _update/update.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index e91ae25..6ec1b75 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .claude .env *.sql -*.log \ No newline at end of file +*.log +.data/ \ No newline at end of file diff --git a/_update/update.sh b/_update/update.sh index eb30e39..d5016a4 100644 --- a/_update/update.sh +++ b/_update/update.sh @@ -29,7 +29,7 @@ for stack_dir in "$STACKS_DIR"/*/; do cd "$stack_dir" pull_output=$(docker compose pull 2>&1 | tee -a "$LOG_FILE") - if echo "$pull_output" | grep -q " Pulled$"; then + if echo "$pull_output" | grep -q " Pulled"; then log " Updates found — recreating containers" if docker compose up -d 2>&1 | tee -a "$LOG_FILE"; then updated+=("$stack")