From ae0e4018b3e459206eb2adfd069a2ab35598cf30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Slavi=C5=A1a=20Are=C5=BEina?= <58952836+tremor021@users.noreply.github.com> Date: Tue, 26 May 2026 21:04:54 +0200 Subject: [PATCH] Format LATEST_VERSION_DOTTED from LATEST_VERSION Change LATEST_VERSION_DOTTED assignment to format version correctly. --- misc/tools.func | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/tools.func b/misc/tools.func index 088b1d0de..4947123a3 100644 --- a/misc/tools.func +++ b/misc/tools.func @@ -4756,7 +4756,7 @@ setup_gs() { return 250 } LATEST_VERSION="${LATEST_VERSION#gs}" - local LATEST_VERSION_DOTTED="$LATEST_VERSION" + local LATEST_VERSION_DOTTED=$(echo "$LATEST_VERSION" | sed 's/\([0-9]\{2\}\)\([0-9]\{2\}\)\([0-9]\{1\}\)/\1.\2.\3/') if [[ -z "$LATEST_VERSION" || -z "$LATEST_VERSION_DOTTED" ]]; then msg_warn "Could not determine latest Ghostscript version from GitHub - checking system"