Colored error message
This commit is contained in:
parent
21f2b153b9
commit
d1e20db85a
|
@ -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
|
||||
}
|
||||
|
|
Reference in New Issue