No longer push the update information to the screen, use notifications.

This commit is contained in:
2026-05-06 14:50:33 -07:00
parent bcfde6c172
commit aec0449ed2

View File

@@ -586,9 +586,18 @@ eval "$(declare -F | grep -v _ | sed 's/-f /-fx /')"
( if [[ -d "$project" ]]; then
git -C "$project" fetch >/dev/null 2>&1 && git -C "$project" status | grep "is behind" \
| while read status; do
log "\n\n`date` - env-shared has been improved."
log " '$status'"
log "\n\n`date` - Run 'update-shared' to update."
#log "\n\n`date` - env-shared has been improved."
#log " '$status'"
#log "\n\n`date` - Run 'update-shared' to update."
title="env-shared Updates Available"
message="Please run reload-shared to pull the latest changes."
if [[ -d /sdcard ]]; then
termux-notification \
-t "$title" \
-c "$message"
else
notify-send "$title" "$message"
fi
done
fi & )