From 694fe6ef8f15ee6b2172de83f85c56980f02cc25 Mon Sep 17 00:00:00 2001 From: poikilos <7557867+poikilos@users.noreply.github.com> Date: Tue, 13 Nov 2018 22:11:25 -0500 Subject: [PATCH] improve progress notifications --- install-ENLIVEN.sh | 2 +- minetestenv.rc | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/install-ENLIVEN.sh b/install-ENLIVEN.sh index d06ff48..b2bbc31 100755 --- a/install-ENLIVEN.sh +++ b/install-ENLIVEN.sh @@ -1129,5 +1129,5 @@ echo echo " awards[\"notify_\" .. tname] = tdef.notify" echo echo "* there is no armor bar at this time since hudbars is not being used (not used due to issue where overlaps the new 5.0.0-dev hud)" -echo "* You may consider changing $MT_MYGAME_MODS_PATH/technic/technic/config.lua so that flashlight is enabled (may incur some lag)" +echo "* You may consider changing $MT_MYGAME_MODS_PATH/technic/technic/config.lua so that flashlight is enabled (however, this will probably cause lag)" echo diff --git a/minetestenv.rc b/minetestenv.rc index 7017715..edbae75 100644 --- a/minetestenv.rc +++ b/minetestenv.rc @@ -436,8 +436,10 @@ if [ ! -d "$MTMOD_DEST_PATH" ] || [ "$update_enable" = "true" ]; then fi if [ "$show_changes" != "false" ]; then #sudo rsync -rtv "$MTMOD_GOT_NAME/" "$MTMOD_DEST_PATH" + echo " * preview of changes (before actual sync):" sudo rsync -zvc "$MTMOD_GOT_NAME/" "$MTMOD_DEST_PATH" --dry-run | grep -v '\.git' | grep -v '\./' | grep -v 'screenshot\.png' | grep -v received | grep -v 'DRY RUN' fi + echo " * synchronizing..." sudo rsync -rt "$MTMOD_GOT_NAME/" "$MTMOD_DEST_PATH" fi if [ -d "$MTMOD_DEST_PATH/.git" ]; then