From 9d1f142c2852fad7d5c4cfc516dd3d1161b23255 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Wed, 18 Jun 2025 14:23:51 +0200 Subject: [PATCH] Update huntarr.sh --- ct/huntarr.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ct/huntarr.sh b/ct/huntarr.sh index 767f36dd..b6aff238 100644 --- a/ct/huntarr.sh +++ b/ct/huntarr.sh @@ -31,7 +31,7 @@ function update_script() { setup_uv RELEASE=$(curl -fsSL https://api.github.com/repos/plexguide/Huntarr.io/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3)}') - if [[ ! -f ~/.huntarr || "${RELEASE}" != "$(cat ~/.huntarr)" ]]; then + if [[ -f ~/.huntarr && "${RELEASE}" == "$(cat ~/.huntarr)" ]]; then msg_ok "No update required. ${APP} is already at ${RELEASE}" exit fi