From 9145acb92922f15999a8dee1e8b4c75631dae455 Mon Sep 17 00:00:00 2001 From: Josia Pietsch Date: Sat, 24 May 2025 19:38:22 +0200 Subject: [PATCH] add forced update option --- update.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/update.sh b/update.sh index a3aa0b2..60527f5 100755 --- a/update.sh +++ b/update.sh @@ -3,9 +3,10 @@ cd -- "$(dirname -- "${BASH_SOURCE[0]}" )" if ! [[ $(git submodule update --checkout themes/launcher) ]]; then - # no updates - exit 0 + if ! [[ ${FORCE_HUGO_UPDATE} == 1 ]]; then + exit 0 + fi fi hugo || exit 1