File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,8 +29,8 @@ function update_script() {
2929 exit
3030 fi
3131
32- RELEASE =$( curl -fsSL https://api.github.com/repos/mealie-recipes/mealie/releases/latest | grep -oP ' "tag_name":\s*"\K[^"]+' | sed ' s/^v//' )
33- if [[ " ${RELEASE } " != " $( cat ~ /.mealie 2> /dev/null) " ]] || [[ ! -f ~ /.mealie ]]; then
32+ VERSION =$( curl -fsSL https://api.github.com/repos/mealie-recipes/mealie/releases/latest | grep -oP ' "tag_name":\s*"\K[^"]+' | sed ' s/^v//' )
33+ if [[ " ${VERSION } " != " $( cat ~ /.mealie 2> /dev/null) " ]] || [[ ! -f ~ /.mealie ]]; then
3434
3535 PYTHON_VERSION=" 3.12" setup_uv
3636 NODE_MODULE=" yarn" NODE_VERSION=" 20" setup_nodejs
@@ -82,7 +82,7 @@ function update_script() {
8282
8383 msg_ok " Update to $RELEASE Successful"
8484 else
85- msg_ok " No update required. ${APP} is already at v${RELEASE } "
85+ msg_ok " No update required. ${APP} is already at v${VERSION } "
8686 fi
8787 exit
8888}
You can’t perform that action at this time.
0 commit comments