add forced update option

This commit is contained in:
Josia Pietsch 2025-05-24 19:38:22 +02:00
parent f9f7f955c5
commit 9145acb929
Signed by: jrpie
GPG key ID: E70B571D66986A2D

View file

@ -3,9 +3,10 @@
cd -- "$(dirname -- "${BASH_SOURCE[0]}" )" cd -- "$(dirname -- "${BASH_SOURCE[0]}" )"
if ! [[ $(git submodule update --checkout themes/launcher) ]]; then if ! [[ $(git submodule update --checkout themes/launcher) ]]; then
# no updates # no updates
exit 0 if ! [[ ${FORCE_HUGO_UPDATE} == 1 ]]; then
exit 0
fi
fi fi
hugo || exit 1 hugo || exit 1