finalizing new notification structure

This commit is contained in:
mag37 2025-02-10 19:46:23 +01:00
parent 71967277aa
commit 111cb955b1
10 changed files with 194 additions and 113 deletions

View file

@ -35,11 +35,11 @@ send_notification() {
### Remove or comment out the following function
### to not send notifications when dockcheck itself has updates.
dockcheck_notification() {
printf "\nSending Apprise dockcheck notification\n"
printf "\nSending Apprise dockcheck notification\n"
MessageTitle="$FromHost - New version of dockcheck available."
# Setting the MessageBody variable here.
printf -v MessageBody "Installed version: $1 \nLatest version: $2 \n\nChangenotes: $3"
MessageTitle="$FromHost - New version of dockcheck available."
# Setting the MessageBody variable here.
printf -v MessageBody "Installed version: $1 \nLatest version: $2 \n\nChangenotes: $3"
trigger_notification
trigger_notification
}