diff --git a/ct/mealie.sh b/ct/mealie.sh index 30efdb20..36d6add0 100644 --- a/ct/mealie.sh +++ b/ct/mealie.sh @@ -29,7 +29,7 @@ function update_script() { exit fi - RELEASE=$(curl -fsSL https://api.github.com/repos/mealie-recipes/mealie/releases/latest | grep -oP '"tag_name":\s*"\K[^"]+' | sed 's/^v//') + RELEASE=$(curl -fsSL https://api.github.com/repos/mealie-recipes/mealie/releases/latest | jq -r '.tag_name | sub("^v"; "")') if [[ "${RELEASE}" != "$(cat ~/.mealie 2>/dev/null)" ]] || [[ ! -f ~/.mealie ]]; then PYTHON_VERSION="3.12" setup_uv