From f34108526a8adb68dafc62a59e8a42314dc00d63 Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner Date: Wed, 7 May 2025 15:52:12 +0200 Subject: [PATCH 1/3] Fixes to LibreNMS --- install/bookstack-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/bookstack-install.sh b/install/bookstack-install.sh index ffacf2d..3d2f3c7 100644 --- a/install/bookstack-install.sh +++ b/install/bookstack-install.sh @@ -43,7 +43,7 @@ msg_info "Setup Bookstack (Patience)" LOCAL_IP="$(hostname -I | awk '{print $1}')" cd /opt RELEASE=$(curl -fsSL https://api.github.com/repos/BookStackApp/BookStack/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') -RELEASE="25.02.2"" +RELEASE="25.02.2" curl -fsSL "https://github.com/BookStackApp/BookStack/archive/refs/tags/v${RELEASE}.zip" -o $(basename "https://github.com/BookStackApp/BookStack/archive/refs/tags/v${RELEASE}.zip") unzip -q v${RELEASE}.zip mv BookStack-${RELEASE} /opt/bookstack From 49e2dd59488b0885b0f5f62a7229e05703ebef4a Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner Date: Wed, 7 May 2025 15:52:43 +0200 Subject: [PATCH 2/3] Indent Spinner --- misc/core.func | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/core.func b/misc/core.func index 594c779..3df3470 100644 --- a/misc/core.func +++ b/misc/core.func @@ -151,7 +151,7 @@ start_spinner() { { while [[ "$SPINNER_ACTIVE" -eq 1 ]]; do - printf "\r\e[2K%s %b" "${frames[spin_i]}" "${YW}${SPINNER_MSG}${CL}" >&2 + printf "\r\e[2K%s %b" "${TAB}${frames[spin_i]}" "${YW}${SPINNER_MSG}${CL}" >&2 spin_i=$(((spin_i + 1) % ${#frames[@]})) sleep "$interval" done From a601d5aec83b2a3973f1121be551962542e97b1b Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner Date: Wed, 7 May 2025 15:54:28 +0200 Subject: [PATCH 3/3] Indent Spinner --- misc/core.func | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/core.func b/misc/core.func index 3df3470..ac5114d 100644 --- a/misc/core.func +++ b/misc/core.func @@ -151,7 +151,7 @@ start_spinner() { { while [[ "$SPINNER_ACTIVE" -eq 1 ]]; do - printf "\r\e[2K%s %b" "${TAB}${frames[spin_i]}" "${YW}${SPINNER_MSG}${CL}" >&2 + printf "\r\e[2K%s %b" "${TAB}${frames[spin_i]}${TAB}" "${YW}${SPINNER_MSG}${CL}" >&2 spin_i=$(((spin_i + 1) % ${#frames[@]})) sleep "$interval" done