mirror of
https://github.com/mag37/dockcheck.git
synced 2026-04-17 01:47:45 +00:00
hotfix suppress noise
Suppressed noise about not being able to source notification (new function) when on legacy notification template.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user