From 303edfedacca6aa217782f4fe64821aceff4f5ed Mon Sep 17 00:00:00 2001 From: Marco Paganini Date: Sat, 28 Sep 2024 13:21:15 -0700 Subject: [PATCH] Fix install bug with double digit versions. --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 57b5b92..bb4929d 100755 --- a/install.sh +++ b/install.sh @@ -79,7 +79,7 @@ main() { echo "${OK} Your architecture is: ${arch}" echo "${OK} Install directory: ${install_dir}" - tgz="${release_name}_[0-9].[0-9].[0-9]_${os}_${arch}.tar.gz" + tgz="${release_name}_[0-9]\\+\\.[0-9]\\_\\.[0-9]\\+_${os}_${arch}\\.tar\\.gz" # Retrieve the list releases from github (this is hacky but we don't # want to force people to have a proper JSON parser installed.)