simplify logic
This commit is contained in:
@ -36,9 +36,8 @@ command_exists() {
|
||||
if command -v "${1}" >/dev/null
|
||||
then
|
||||
return 0
|
||||
else
|
||||
return 1
|
||||
fi
|
||||
return 1
|
||||
}
|
||||
|
||||
if command_exists tput
|
||||
|
Reference in New Issue
Block a user