patcher: fix syntax error

This commit is contained in:
Ivar Scholten 2022-08-14 23:00:55 +02:00
parent 5317f7e82b
commit e50b989942

View file

@ -23,7 +23,7 @@ checkInstalled()
{
local command="$1"
# Check wether a command is installed
if [ ! -x "$(command -v "${command}" ] ; then
if [ ! -x "$(command -v "${command}")" ] ; then
>&2 echo "${command} is not installed! Please install '${command}' from your local package manager!"
exit 1
fi