From 3deefd6ffb505d8d3dd5ecca2eb2837d1b37b6a3 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Thu, 18 Sep 2025 13:12:43 +0200 Subject: [PATCH] test --- misc/tools.func | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/misc/tools.func b/misc/tools.func index 6b619c44..381fe85a 100644 --- a/misc/tools.func +++ b/misc/tools.func @@ -232,7 +232,7 @@ function setup_postgresql() { # # Variables: # MARIADB_VERSION - MariaDB version to install (e.g. 10.11, latest) (default: latest) -# ------------------------------------------------------------------------------ +# ------------------------------------------------------------------------------ test setup_mariadb() { local MARIADB_VERSION="${MARIADB_VERSION:-latest}" @@ -2024,7 +2024,7 @@ EOF check_for_gh_release() { local app="$1" local source="$2" - local pinned_version="${3:-}" # optional + local pinned_version="${3:-}" # optional local current_file="$HOME/.${app,,}" msg_info "Check for update: ${app}" @@ -2044,7 +2044,7 @@ check_for_gh_release() { fi # get latest release -local release + local release release=$(curl -fsSL "https://api.github.com/repos/${source}/releases/latest" | jq -r '.tag_name' | sed 's/^v//') @@ -2080,4 +2080,4 @@ local release msg_ok "${app} is up to date (v${release})" return 1 fi -} \ No newline at end of file +}