Try to fix auto-update notification as well as output.

This commit is contained in:
2026-05-06 17:28:48 -07:00
parent 4ee3dc69c9
commit 0d450e9172

View File

@@ -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! ##