Files
gvm/scripts/function/display_message
T
2012-03-28 21:52:52 -07:00

13 lines
159 B
Plaintext

display_message() {
which tput &> /dev/null
if [[ "$?" == "0" ]]; then
# GREEN!
tput sgr0
tput setaf 2
echo "$1"
tput sgr0
else
echo "$1"
fi
}