hotfix suppress noise

Suppressed noise about not being able to source notification (new function) when on legacy notification template.
This commit is contained in:
mag37 2025-05-26 07:27:51 +02:00 committed by GitHub
parent ec09612274
commit 22871442db
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -355,7 +355,7 @@ if [[ "$VERSION" != "$LatestRelease" ]]; then
fi
# Version check for notify templates
[[ "$Notify" == true ]] && { exec_if_exists_or_fail notify_update_notification || printf "Could not source notify notification function.\n"; }
[[ "$Notify" == true ]] && [[ ! -s "${ScriptWorkDir}/notify.sh" ]] && { exec_if_exists_or_fail notify_update_notification || printf "Could not source notify notification function.\n"; }
dependency_check "regctl" "regbin" "https://github.com/regclient/regclient/releases/latest/download/regctl-linux-TEMP"
dependency_check "jq" "jqbin" "https://github.com/jqlang/jq/releases/latest/download/jq-linux-TEMP"