From dd4c149f9011a0abee0330e3ef4543d1b07751fe Mon Sep 17 00:00:00 2001 From: PolyCurium <281598918+polycurium@users.noreply.github.com> Date: Mon, 11 May 2026 10:52:41 +0000 Subject: [PATCH] Fix version check syntax in get_latest_version function --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index c2cb997bca0d..afcd567b2d30 100644 --- a/install.sh +++ b/install.sh @@ -57,7 +57,7 @@ detect_platform() { # Get latest version from GitHub API get_latest_version() { - if [ -n "$VERSION" ]; then + if [ -n "${VERSION:-}" ]; then echo "$VERSION" return fi