From 9c5ce26b57dea023f34665cb1f2392353720a487 Mon Sep 17 00:00:00 2001 From: bryan Date: Sat, 22 Feb 2025 15:25:08 -0500 Subject: [PATCH] Make pop quiet --- installJRMC | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/installJRMC b/installJRMC index 002c0b2..6e1a77a 100755 --- a/installJRMC +++ b/installJRMC @@ -1594,7 +1594,7 @@ update() { before_pull_hash=$(git -C "$SCRIPT_DIR" rev-parse HEAD) # Stash local changes before pull - execute git -C "$SCRIPT_DIR" stash --quiet + execute git -C "$SCRIPT_DIR" stash push --quiet # Pull latest changes debug "Running git pull in $SCRIPT_DIR" @@ -1605,11 +1605,11 @@ update() { # If the commit hash has changed, an update occurred if [[ "$before_pull_hash" != "$after_pull_hash" ]]; then echo "Detected installJRMC update, restarting" - execute git -C "$SCRIPT_DIR" stash pop + execute git -C "$SCRIPT_DIR" stash pop --quiet exec "$SCRIPT_PATH" "$@" "--no-update" fi fi - execute git -C "$SCRIPT_DIR" stash pop + execute git -C "$SCRIPT_DIR" stash pop --quiet else debug "Not in a git repository or not the installJRMC repository. Checking for updates via download."