mirror of
https://github.com/YunoHost/install_script.git
synced 2024-09-03 20:06:25 +02:00
Cosmetics
This commit is contained in:
parent
b12fbc9660
commit
89f4ffe4c0
1 changed files with 4 additions and 4 deletions
|
@ -138,25 +138,25 @@ readonly white=$(printf '\033[39m')
|
|||
function success()
|
||||
{
|
||||
local msg=${1}
|
||||
echo "[${green} OK ${normal}] ${msg}" | tee -a $YUNOHOST_LOG
|
||||
echo "[${bold}${green} OK ${normal}] ${msg}" | tee -a $YUNOHOST_LOG
|
||||
}
|
||||
|
||||
function info()
|
||||
{
|
||||
local msg=${1}
|
||||
echo "[${blue}INFO${normal}] ${msg}" | tee -a $YUNOHOST_LOG
|
||||
echo "[${bold}${blue}INFO${normal}] ${msg}" | tee -a $YUNOHOST_LOG
|
||||
}
|
||||
|
||||
function warn()
|
||||
{
|
||||
local msg=${1}
|
||||
echo "[${orange}WARN${normal}] ${msg}" | tee -a $YUNOHOST_LOG >&2
|
||||
echo "[${bold}${orange}WARN${normal}] ${msg}" | tee -a $YUNOHOST_LOG >&2
|
||||
}
|
||||
|
||||
function error()
|
||||
{
|
||||
local msg=${1}
|
||||
echo "[${red}FAIL${normal}] ${msg}" | tee -a $YUNOHOST_LOG >&2
|
||||
echo "[${bold}${red}FAIL${normal}] ${msg}" | tee -a $YUNOHOST_LOG >&2
|
||||
}
|
||||
|
||||
function die() {
|
||||
|
|
Loading…
Add table
Reference in a new issue