Files
gvm/scripts/function/display_message
2012-03-25 08:48:24 -05:00

12 lines
152 B
Plaintext

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