Test for different command lookup check
This commit is contained in:
@@ -413,6 +413,7 @@ elif [ ! -z "${BORG_EXECUTEABLE}" ]; then
|
|||||||
exit;
|
exit;
|
||||||
fi;
|
fi;
|
||||||
elif ! command -v borg &> /dev/null; then
|
elif ! command -v borg &> /dev/null; then
|
||||||
|
# elif [ -z ($command -v borg) ]; then
|
||||||
echo "borg backup seems not to be installed, please verify paths";
|
echo "borg backup seems not to be installed, please verify paths";
|
||||||
exit;
|
exit;
|
||||||
fi;
|
fi;
|
||||||
|
|||||||
Reference in New Issue
Block a user