From 38f452aca95efb03e59cb8e12fbd53be2ee88923 Mon Sep 17 00:00:00 2001 From: MacRimi <123239993+MacRimi@users.noreply.github.com> Date: Sun, 2 Feb 2025 12:21:50 +0100 Subject: [PATCH] Update utils.sh --- scripts/utils.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/utils.sh b/scripts/utils.sh index 9eb1de7..5ad44b9 100644 --- a/scripts/utils.sh +++ b/scripts/utils.sh @@ -62,6 +62,12 @@ msg_info() { SPINNER_PID=$! } +# Display warning or highlighted information message +msg_warn() { + local msg="$1" + echo -e "${BFR}${TAB}${YWB}[INFO]${CL} ${YWB}${msg}${CL}" +} + # Display success message msg_ok() { if [ -n "$SPINNER_PID" ] && ps -p $SPINNER_PID > /dev/null; then