Hide success messages from the prereqs scripts

This commit is contained in:
R Tyler Croy 2019-02-23 17:28:17 -08:00
parent 0e77bb627d
commit f4009a7717
No known key found for this signature in database
GPG Key ID: E5C92681BEF6CEA2
1 changed files with 5 additions and 3 deletions

View File

@ -6,9 +6,11 @@ err() {
printf '\e[0m \n'
}
ok() {
printf '\e[48;5;%dm' 034
echo -n ">> ${1}"
printf '\e[0m \n'
if [ ! -z "${VERBOSE}" ]; then
printf '\e[48;5;%dm' 034
echo -n ">> ${1}"
printf '\e[0m \n'
fi;
}
check_bin() {