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