[util] add 2 new msg functions

This commit is contained in:
udeved 2015-05-22 16:51:45 +02:00
parent 4c609c4c8e
commit 50659e5e32

View file

@ -464,3 +464,16 @@ check_sanity(){
eval "$2" eval "$2"
fi fi
} }
show_version(){
msg "manjaro-tools"
msg2 "version: ${version}"
}
show_config(){
if [[ -f ${USER_CONFIG}/manjaro-tools.conf ]]; then
msg2 "user_config: ${USER_CONFIG}/manjaro-tools.conf"
else
msg2 "manjaro_tools_conf: ${manjaro_tools_conf}"
fi
}