Unverified Commit 4fec0a46 authored by Marc Cornellà's avatar Marc Cornellà Committed by GitHub
Browse files

[installer] use `command -v` to check for git

Quick fix to the script not finding git due to hash.
Solves #6697.
parent 86a0b865
......@@ -49,7 +49,7 @@ main() {
umask g-w,o-w
printf "${BLUE}Cloning Oh My Zsh...${NORMAL}\n"
hash git >/dev/null 2>&1 || {
command -v git >/dev/null 2>&1 || {
echo "Error: git is not installed"
exit 1
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment