[util] add 2 new msg functions
This commit is contained in:
parent
43c27056a1
commit
3fee46a4ad
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"
|
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
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue