New updates to readme

This commit is contained in:
mag37 2024-01-03 21:56:07 +01:00
parent 9ead0feb9f
commit 8e92a3a4cb
2 changed files with 8 additions and 3 deletions

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash
VERSION="v0.3.1"
### ChangeNotes: Added feature (-m) Monochrome Mode, no printf color codes.
VERSION="v0.3.2"
### ChangeNotes: Added a notify function - template and email script (DSM etc)
Github="https://github.com/mag37/dockcheck"
RawUrl="https://raw.githubusercontent.com/mag37/dockcheck/main/dockcheck.sh"
@ -234,7 +234,7 @@ fi
if [[ -n ${GotUpdates[*]} ]] ; then
printf "\n%bContainers with updates available:%b\n" "$c_yellow" "$c_reset"
[[ -z "$AutoUp" ]] && options || printf "%s\n" "${GotUpdates[@]}"
[[ $(type -t send_notification) == function ]] && send_notification ${GotUpdates[@]}
[[ $(type -t send_notification) == function ]] && send_notification "${GotUpdates[@]}"
fi
### Optionally get updates if there's any