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