This commit is contained in:
CanbiZ
2026-01-15 10:47:54 +01:00
parent 82053c5b70
commit 24b46ee21c
3 changed files with 136 additions and 0 deletions

View File

@@ -3,6 +3,20 @@
# Erwartet vorhandene msg_* und optional $STD aus deinem Framework.
# Fallbacks, wenn core.func nicht geladen wurde (Alpine/ash-safe)
if ! command -v msg_info >/dev/null 2>&1; then
msg_info() { echo "[INFO] $*"; }
fi
if ! command -v msg_ok >/dev/null 2>&1; then
msg_ok() { echo "[OK] $*"; }
fi
if ! command -v msg_warn >/dev/null 2>&1; then
msg_warn() { echo "[WARN] $*"; }
fi
if ! command -v msg_error >/dev/null 2>&1; then
msg_error() { echo "[ERROR] $*" >&2; }
fi
# ------------------------------
# helpers
# ------------------------------