mirror of
https://github.com/mag37/dockcheck.git
synced 2026-03-14 12:46:29 +01:00
newline and rephrasing
This commit is contained in:
parent
c436def448
commit
06ea7fff6d
11 changed files with 12 additions and 12 deletions
|
|
@ -61,14 +61,14 @@ send_notification() {
|
||||||
trigger_notification
|
trigger_notification
|
||||||
}
|
}
|
||||||
|
|
||||||
### Remove or comment out the following function
|
### Rename (eg. disabled_dockcheck_notification), remove or comment out the following function
|
||||||
### to not send notifications when dockcheck itself has updates.
|
### to not send notifications when dockcheck itself has updates.
|
||||||
dockcheck_notification() {
|
dockcheck_notification() {
|
||||||
printf "\nSending email dockcheck notification.\n"
|
printf "\nSending email dockcheck notification.\n"
|
||||||
|
|
||||||
MessageTitle="New version of dockcheck available on"
|
MessageTitle="New version of dockcheck available on"
|
||||||
# Setting the MessageBody variable here.
|
# Setting the MessageBody variable here.
|
||||||
printf -v MessageBody "Installed version: $1 \nLatest version: $2 \n\nChangenotes: $3"
|
printf -v MessageBody "Installed version: $1\nLatest version: $2\n\nChangenotes: $3\n"
|
||||||
|
|
||||||
trigger_notification
|
trigger_notification
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@ send_notification() {
|
||||||
trigger_notification
|
trigger_notification
|
||||||
}
|
}
|
||||||
|
|
||||||
### Remove or comment out the following function
|
### Rename (eg. disabled_dockcheck_notification), remove or comment out the following function
|
||||||
### to not send notifications when dockcheck itself has updates.
|
### to not send notifications when dockcheck itself has updates.
|
||||||
dockcheck_notification() {
|
dockcheck_notification() {
|
||||||
printf "\nSending Apprise dockcheck notification\n"
|
printf "\nSending Apprise dockcheck notification\n"
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ send_notification() {
|
||||||
trigger_notification
|
trigger_notification
|
||||||
}
|
}
|
||||||
|
|
||||||
### Remove or comment out the following function
|
### Rename (eg. disabled_dockcheck_notification), remove or comment out the following function
|
||||||
### to not send notifications when dockcheck itself has updates.
|
### to not send notifications when dockcheck itself has updates.
|
||||||
dockcheck_notification() {
|
dockcheck_notification() {
|
||||||
printf "\nSending Discord dockcheck notification\n"
|
printf "\nSending Discord dockcheck notification\n"
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ send_notification() {
|
||||||
trigger_notification
|
trigger_notification
|
||||||
}
|
}
|
||||||
|
|
||||||
### Remove or comment out the following function
|
### Rename (eg. disabled_dockcheck_notification), remove or comment out the following function
|
||||||
### to not send notifications when dockcheck itself has updates.
|
### to not send notifications when dockcheck itself has updates.
|
||||||
dockcheck_notification() {
|
dockcheck_notification() {
|
||||||
printf "\nGeneric dockcheck notification\n"
|
printf "\nGeneric dockcheck notification\n"
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ send_notification() {
|
||||||
trigger_notification
|
trigger_notification
|
||||||
}
|
}
|
||||||
|
|
||||||
### Remove or comment out the following function
|
### Rename (eg. disabled_dockcheck_notification), remove or comment out the following function
|
||||||
### to not send notifications when dockcheck itself has updates.
|
### to not send notifications when dockcheck itself has updates.
|
||||||
dockcheck_notification() {
|
dockcheck_notification() {
|
||||||
printf "\nSending Apprise dockcheck notification\n"
|
printf "\nSending Apprise dockcheck notification\n"
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ send_notification() {
|
||||||
trigger_notification
|
trigger_notification
|
||||||
}
|
}
|
||||||
|
|
||||||
### Remove or comment out the following function
|
### Rename (eg. disabled_dockcheck_notification), remove or comment out the following function
|
||||||
### to not send notifications when dockcheck itself has updates.
|
### to not send notifications when dockcheck itself has updates.
|
||||||
dockcheck_notification() {
|
dockcheck_notification() {
|
||||||
printf "\nSending Matrix dockcheck notification\n"
|
printf "\nSending Matrix dockcheck notification\n"
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@ send_notification() {
|
||||||
trigger_notification
|
trigger_notification
|
||||||
}
|
}
|
||||||
|
|
||||||
### Remove or comment out the following function
|
### Rename (eg. disabled_dockcheck_notification), remove or comment out the following function
|
||||||
### to not send notifications when dockcheck itself has updates.
|
### to not send notifications when dockcheck itself has updates.
|
||||||
dockcheck_notification() {
|
dockcheck_notification() {
|
||||||
printf "\nSending ntfy.sh dockcheck notification\n"
|
printf "\nSending ntfy.sh dockcheck notification\n"
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ send_notification() {
|
||||||
trigger_notification
|
trigger_notification
|
||||||
}
|
}
|
||||||
|
|
||||||
### Remove or comment out the following function
|
### Rename (eg. disabled_dockcheck_notification), remove or comment out the following function
|
||||||
### to not send notifications when dockcheck itself has updates.
|
### to not send notifications when dockcheck itself has updates.
|
||||||
dockcheck_notification() {
|
dockcheck_notification() {
|
||||||
printf "\nSending pushbullet dockcheck notification\n"
|
printf "\nSending pushbullet dockcheck notification\n"
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ send_notification() {
|
||||||
trigger_notification
|
trigger_notification
|
||||||
}
|
}
|
||||||
|
|
||||||
### Remove or comment out the following function
|
### Rename (eg. disabled_dockcheck_notification), remove or comment out the following function
|
||||||
### to not send notifications when dockcheck itself has updates.
|
### to not send notifications when dockcheck itself has updates.
|
||||||
dockcheck_notification() {
|
dockcheck_notification() {
|
||||||
printf "\nSending Apprise dockcheck notification\n"
|
printf "\nSending Apprise dockcheck notification\n"
|
||||||
|
|
|
||||||
|
|
@ -50,7 +50,7 @@ send_notification() {
|
||||||
trigger_notification
|
trigger_notification
|
||||||
}
|
}
|
||||||
|
|
||||||
### Remove or comment out the following function
|
### Rename (eg. disabled_dockcheck_notification), remove or comment out the following function
|
||||||
### to not send notifications when dockcheck itself has updates.
|
### to not send notifications when dockcheck itself has updates.
|
||||||
dockcheck_notification() {
|
dockcheck_notification() {
|
||||||
printf "\nSending email dockcheck notification.\n"
|
printf "\nSending email dockcheck notification.\n"
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ send_notification() {
|
||||||
trigger_notification
|
trigger_notification
|
||||||
}
|
}
|
||||||
|
|
||||||
### Remove or comment out the following function
|
### Rename (eg. disabled_dockcheck_notification), remove or comment out the following function
|
||||||
### to not send notifications when dockcheck itself has updates.
|
### to not send notifications when dockcheck itself has updates.
|
||||||
dockcheck_notification() {
|
dockcheck_notification() {
|
||||||
printf "\nSending Matrix dockcheck notification\n"
|
printf "\nSending Matrix dockcheck notification\n"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue