generated from me/template-mit
Try to fix auto-update notification as well as output.
This commit is contained in:
@@ -599,13 +599,13 @@ 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 && (
|
reload-shared && {
|
||||||
title="env-shared Updated"
|
title="env-shared Updated"
|
||||||
message="Updated with 'reload-shared'."
|
message="Updated with 'reload-shared'."
|
||||||
) || (
|
} || {
|
||||||
title="env-shared Updates Available"
|
title="env-shared Updates Available"
|
||||||
message="Update with 'reload-shared'."
|
message="Update with 'reload-shared'."
|
||||||
)
|
}
|
||||||
if [[ -d /sdcard ]]; then
|
if [[ -d /sdcard ]]; then
|
||||||
termux-notification \
|
termux-notification \
|
||||||
-t "$title" \
|
-t "$title" \
|
||||||
@@ -614,7 +614,7 @@ eval "$(declare -F | grep -v _ | sed 's/-f /-fx /')"
|
|||||||
notify-send "$title" "$message"
|
notify-send "$title" "$message"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
fi & )
|
fi & ) >> $Home/Reports/env-shared.log 2>&1
|
||||||
|
|
||||||
|
|
||||||
## Complete! ##
|
## Complete! ##
|
||||||
|
|||||||
Reference in New Issue
Block a user