Add testing debug output
This commit is contained in:
@@ -1730,6 +1730,9 @@ update() {
|
|||||||
# Restore local changes
|
# Restore local changes
|
||||||
execute git -C "$SCRIPT_DIR" stash pop --quiet
|
execute git -C "$SCRIPT_DIR" stash pop --quiet
|
||||||
|
|
||||||
|
debug "Current commit hash: $before_pull_hash"
|
||||||
|
debug "New commit hash: $(git -C "$SCRIPT_DIR" rev-parse HEAD)"
|
||||||
|
|
||||||
# If the commit hash has changed, an update occurred
|
# If the commit hash has changed, an update occurred
|
||||||
if [[ "$before_pull_hash" != $(git -C "$SCRIPT_DIR" rev-parse HEAD) ]]; then
|
if [[ "$before_pull_hash" != $(git -C "$SCRIPT_DIR" rev-parse HEAD) ]]; then
|
||||||
echo "Detected installJRMC update, restarting"
|
echo "Detected installJRMC update, restarting"
|
||||||
|
|||||||
Reference in New Issue
Block a user