V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 51s
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 51s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -28,4 +28,21 @@ color_echo() {
|
||||
declare msg="${*}"
|
||||
printf "%b[INFO]%b %s %b" "${c}" "${RES}" "${msg}" "${NL}" | tee -a "${VAR_DIALOG}"
|
||||
}
|
||||
|
||||
#######################################
|
||||
# Print the current module in plain or colorful format.
|
||||
# Globals:
|
||||
# GRE
|
||||
# VAR_AUTO_INSTALL
|
||||
# Arguments:
|
||||
# 1: Modulname
|
||||
#######################################
|
||||
info_echo() {
|
||||
declare module="$1"
|
||||
if ! "${VAR_AUTO_INSTALL}"; then
|
||||
echo "MAIN PROGRAM SEQUENCE: ${module} ..."
|
||||
else
|
||||
color_echo "${GRE}" "MAIN PROGRAM SEQUENCE: ${module} ..."
|
||||
fi
|
||||
}
|
||||
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh
|
||||
|
||||
Reference in New Issue
Block a user