Update core.func
This commit is contained in:
parent
c2c75c59a5
commit
a29e9cd22f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user