generated from me/template-mit
Try fixing the notification message from being TBD/TBD.
This commit is contained in:
@@ -600,13 +600,15 @@ eval "$(declare -F | grep -v _ | sed 's/-f /-fx /')"
|
||||
#log "\n\n`date` - Run 'update-shared' to update."
|
||||
title=TBD
|
||||
message=TBD
|
||||
reload-shared && {
|
||||
success=0
|
||||
reload-shared || success=1
|
||||
if [[ $success == 0 ]]; then
|
||||
title="env-shared Updated"
|
||||
message="Updated with 'reload-shared'."
|
||||
} || {
|
||||
else
|
||||
title="env-shared Updates Available"
|
||||
message="Update with 'reload-shared'."
|
||||
}
|
||||
fi
|
||||
if [[ -d /sdcard ]]; then
|
||||
termux-notification \
|
||||
-t "$title" \
|
||||
|
||||
Reference in New Issue
Block a user