From 3019cfad1215d8fd2de106d55f89689cd615d4cf Mon Sep 17 00:00:00 2001 From: bryan Date: Wed, 23 Apr 2025 15:02:47 -0400 Subject: [PATCH] Use case insensitive git repo check --- installJRMC | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installJRMC b/installJRMC index 01047c7..35249cc 100755 --- a/installJRMC +++ b/installJRMC @@ -1628,7 +1628,7 @@ update() { # Check if we're in a git directory and if it's the installJRMC repository if git -C "$SCRIPT_DIR" rev-parse --is-inside-work-tree &>/dev/null \ - && [[ "$(git -C "$SCRIPT_DIR" config --get remote.origin.url)" == *"installJRMC"* ]]; then + && [[ "$(git -C "$SCRIPT_DIR" config --get remote.origin.url)" =~ installJRMC|installjrmc ]]; then # Get the current commit hash local before_pull_hash after_pull_hash