Try fixing the notification message from being TBD/TBD.

This commit is contained in:
2026-05-06 17:36:27 -07:00
parent d3a5bbc9c3
commit 487399e18f

View File

@@ -600,13 +600,15 @@ eval "$(declare -F | grep -v _ | sed 's/-f /-fx /')"
#log "\n\n`date` - Run 'update-shared' to update." #log "\n\n`date` - Run 'update-shared' to update."
title=TBD title=TBD
message=TBD message=TBD
reload-shared && { success=0
reload-shared || success=1
if [[ $success == 0 ]]; then
title="env-shared Updated" title="env-shared Updated"
message="Updated with 'reload-shared'." message="Updated with 'reload-shared'."
} || { else
title="env-shared Updates Available" title="env-shared Updates Available"
message="Update with 'reload-shared'." message="Update with 'reload-shared'."
} fi
if [[ -d /sdcard ]]; then if [[ -d /sdcard ]]; then
termux-notification \ termux-notification \
-t "$title" \ -t "$title" \