From 09031480c21b5471b61dd59516b4723b1dfcc637 Mon Sep 17 00:00:00 2001 From: bryan Date: Mon, 4 Nov 2024 14:06:20 -0500 Subject: [PATCH] Add some debug output --- installJRMC | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/installJRMC b/installJRMC index 459739a..310f89b 100755 --- a/installJRMC +++ b/installJRMC @@ -1552,6 +1552,7 @@ update() { before_pull_hash=$(git -C "$SCRIPT_DIR" rev-parse HEAD) # Run a git stash in case there are local changes execute git -C "$SCRIPT_DIR" stash --quiet + debug "git -C $SCRIPT_DIR pull" if git -C "$SCRIPT_DIR" pull | grep -qv "Already up to date"; then return 0 fi @@ -1575,7 +1576,7 @@ update() { execute rm -f "$tmp" fi - echo "installJRMC updated, restarting" + echo "Detected installJRMC update, restarting" exec "$SCRIPT_PATH" "$@" "--no-update" }