From d2e0bf441408f9026c0e9a4a80365ee91fafe587 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Tue, 29 Apr 2025 14:07:12 +0200 Subject: [PATCH] Update sabnzbd.sh --- ct/sabnzbd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ct/sabnzbd.sh b/ct/sabnzbd.sh index 8bc57dbf..20733172 100644 --- a/ct/sabnzbd.sh +++ b/ct/sabnzbd.sh @@ -29,7 +29,7 @@ function update_script() { exit fi RELEASE=$(curl -fsSL https://api.github.com/repos/sabnzbd/sabnzbd/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') - if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]]; then + if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" = "$(cat /opt/${APP}_version.txt)" ]]; then msg_ok "No update required. ${APP} is already at ${RELEASE}" exit fi