diff --git a/rc_shared.sh b/rc_shared.sh index 66cf08e..39db11e 100644 --- a/rc_shared.sh +++ b/rc_shared.sh @@ -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 & )