simplify logic

This commit is contained in:
xosefulk 2021-06-04 14:21:00 +06:00
parent 14b734ad42
commit d4306a3f7e
No known key found for this signature in database
GPG Key ID: 1FA9C3DC72E53008

View File

@ -36,9 +36,8 @@ command_exists() {
if command -v "${1}" >/dev/null if command -v "${1}" >/dev/null
then then
return 0 return 0
else
return 1
fi fi
return 1
} }
if command_exists tput if command_exists tput