From 4713e408c6e94b3ce95d7c8f9792e2c349620298 Mon Sep 17 00:00:00 2001 From: bryan Date: Tue, 3 Sep 2024 20:01:21 -0400 Subject: [PATCH] Fix Linux Mint codename --- installJRMC | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/installJRMC b/installJRMC index b39e525..2af9439 100755 --- a/installJRMC +++ b/installJRMC @@ -1617,6 +1617,8 @@ update_self() { echo "$version_line" } + echo HERE + # 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)" == *"bryan/installJRMC"* ]]; then @@ -1638,6 +1640,8 @@ update_self() { fi fi + echo HERE2 + # Download the latest version of the script install_package --silent wget if command -v wget &>/dev/null; then @@ -1648,6 +1652,8 @@ update_self() { return 1 fi + echo HERE3 + # Compare versions and update if necessary local local_version local_version=$(extract_version "$SCRIPT_PATH")