1
0
Fork 0

Colored error message

This commit is contained in:
Braiden Vasco 2017-07-02 12:21:40 +00:00
parent 21f2b153b9
commit d1e20db85a
1 changed files with 2 additions and 0 deletions

View File

@ -16,9 +16,11 @@ dependencies_check() {
fi
if [[ "$missing" ]]; then
tput setaf 1 # Red color
echo 'Reqired dependencies not installed.'
echo 'This can be resolved on Debian/Raspbian systems by installing the following packages:'
echo "$missing"
tput sgr0 # No color
false
fi
}