mirror of
https://github.com/mag37/dockcheck.git
synced 2026-04-17 09:57:49 +00:00
newline and rephrasing
This commit is contained in:
@@ -61,14 +61,14 @@ send_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.
|
||||
dockcheck_notification() {
|
||||
printf "\nSending email dockcheck notification.\n"
|
||||
|
||||
MessageTitle="New version of dockcheck available on"
|
||||
# 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
|
||||
}
|
||||
|
||||
@@ -34,7 +34,7 @@ send_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.
|
||||
dockcheck_notification() {
|
||||
printf "\nSending Apprise dockcheck notification\n"
|
||||
|
||||
@@ -25,7 +25,7 @@ send_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.
|
||||
dockcheck_notification() {
|
||||
printf "\nSending Discord dockcheck notification\n"
|
||||
|
||||
@@ -23,7 +23,7 @@ send_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.
|
||||
dockcheck_notification() {
|
||||
printf "\nGeneric dockcheck notification\n"
|
||||
|
||||
@@ -32,7 +32,7 @@ send_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.
|
||||
dockcheck_notification() {
|
||||
printf "\nSending Apprise dockcheck notification\n"
|
||||
|
||||
@@ -30,7 +30,7 @@ send_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.
|
||||
dockcheck_notification() {
|
||||
printf "\nSending Matrix dockcheck notification\n"
|
||||
|
||||
@@ -29,7 +29,7 @@ send_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.
|
||||
dockcheck_notification() {
|
||||
printf "\nSending ntfy.sh dockcheck notification\n"
|
||||
|
||||
@@ -30,7 +30,7 @@ send_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.
|
||||
dockcheck_notification() {
|
||||
printf "\nSending pushbullet dockcheck notification\n"
|
||||
|
||||
@@ -36,7 +36,7 @@ send_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.
|
||||
dockcheck_notification() {
|
||||
printf "\nSending Apprise dockcheck notification\n"
|
||||
|
||||
@@ -50,7 +50,7 @@ send_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.
|
||||
dockcheck_notification() {
|
||||
printf "\nSending email dockcheck notification.\n"
|
||||
|
||||
@@ -30,7 +30,7 @@ send_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.
|
||||
dockcheck_notification() {
|
||||
printf "\nSending Matrix dockcheck notification\n"
|
||||
|
||||
Reference in New Issue
Block a user