From 3c67f8ee626a7a0fc59e8bb4fb1b3cbb5218634f Mon Sep 17 00:00:00 2001 From: bryan Date: Tue, 3 Sep 2024 20:39:53 -0400 Subject: [PATCH] Fix Linux Mint codename --- installJRMC | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/installJRMC b/installJRMC index 74a8c03..a21a4fe 100755 --- a/installJRMC +++ b/installJRMC @@ -1653,7 +1653,8 @@ update_self() { local_version=${local_version%-dev} local remote_version - grep -m 1 'SCRIPT_VERSION=' "$SCRIPT_PATH" + cat $tmp + grep -m 1 'SCRIPT_VERSION=' "$tmp" remote_version=$(grep -m 1 'SCRIPT_VERSION=' "$tmp") remote_version=${remote_version#*=} remote_version=${remote_version#\"}