fix(configure.sh): wrong check on dependency to install [skip ci]

This commit is contained in:
Nicolas Meienberger 2022-11-11 23:34:56 +01:00
parent 08b6b31884
commit 6ae9efa8d0

View file

@ -146,7 +146,7 @@ fi
function check_dependency_and_install() {
local dependency="${1}"
if ! command -v fswatch >/dev/null; then
if ! command -v "${dependency}" >/dev/null; then
echo "Installing ${dependency}"
install_generic "${dependency}" "${OS}"
install_result=$?