From 0d450e9172d0cc092e5d0923535c1609813c2bc7 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Wed, 6 May 2026 17:28:48 -0700 Subject: [PATCH] Try to fix auto-update notification as well as output. --- rc_shared.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rc_shared.sh b/rc_shared.sh index b1059f5..0b19fd8 100644 --- a/rc_shared.sh +++ b/rc_shared.sh @@ -599,13 +599,13 @@ eval "$(declare -F | grep -v _ | sed 's/-f /-fx /')" #log "\n\n`date` - Run 'update-shared' to update." title=TBD message=TBD - reload-shared && ( + reload-shared && { title="env-shared Updated" message="Updated with 'reload-shared'." - ) || ( + } || { title="env-shared Updates Available" message="Update with 'reload-shared'." - ) + } if [[ -d /sdcard ]]; then termux-notification \ -t "$title" \ @@ -614,7 +614,7 @@ eval "$(declare -F | grep -v _ | sed 's/-f /-fx /')" notify-send "$title" "$message" fi done -fi & ) +fi & ) >> $Home/Reports/env-shared.log 2>&1 ## Complete! ##