From a29e9cd22f452f396026b962f211e2ceaa612add Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Fri, 27 Jun 2025 13:12:56 +0200 Subject: [PATCH] Update core.func --- misc/core.func | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/misc/core.func b/misc/core.func index e67d5eb5..27b6a3d6 100644 --- a/misc/core.func +++ b/misc/core.func @@ -435,7 +435,14 @@ msg_info() { stop_spinner - if [[ "${VERBOSE:-no}" == "no" && -t 2 ]]; then +msg_info() { + local msg="$1" + [[ -z "$msg" || -n "${MSG_INFO_SHOWN["$msg"]+x}" ]] && return + MSG_INFO_SHOWN["$msg"]=1 + + stop_spinner + + if [[ "${VERBOSE:-no}" == "no" && "${var_os:-}" != "alpine" && -t 2 ]]; then start_spinner "$msg" else printf "\r\e[2K%s %b" "$HOURGLASS" "${YW}${msg}${CL}" >&2