Test for different command lookup check

This commit is contained in:
Clemens Schwaighofer
2022-11-22 09:36:30 +09:00
parent c0f9634442
commit 72f3f86eb6

View File

@@ -413,6 +413,7 @@ elif [ ! -z "${BORG_EXECUTEABLE}" ]; then
exit;
fi;
elif ! command -v borg &> /dev/null; then
# elif [ -z ($command -v borg) ]; then
echo "borg backup seems not to be installed, please verify paths";
exit;
fi;