forked from mirrored-repos/manjaro-tools
[util] add 2 new msg functions
This commit is contained in:
parent
4c609c4c8e
commit
50659e5e32
1 changed files with 13 additions and 0 deletions
13
lib/util.sh
13
lib/util.sh
|
@ -464,3 +464,16 @@ check_sanity(){
|
|||
eval "$2"
|
||||
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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue