Repaired git detection

1.3
Lukas Macura 2016-11-28 13:28:25 +01:00
parent 375f805b6a
commit 8e8e1b9dfc
1 changed files with 6 additions and 4 deletions

View File

@ -244,10 +244,12 @@ zaf_configure(){
fi fi
fi fi
fi fi
if zaf_which git >/dev/null; then if [ -z "$ZAF_GIT" ]; then
ZAF_GIT=1 if zaf_which git >/dev/null; then
else ZAF_GIT=1
ZAF_GIT=0 else
ZAF_GIT=0
fi
fi fi
zaf_get_option ZAF_GIT "Git is installed" "$ZAF_GIT" "$INSTALL_MODE" zaf_get_option ZAF_GIT "Git is installed" "$ZAF_GIT" "$INSTALL_MODE"
zaf_get_option ZAF_CURL_INSECURE "Insecure curl (accept all certificates)" "1" "$INSTALL_MODE" zaf_get_option ZAF_CURL_INSECURE "Insecure curl (accept all certificates)" "1" "$INSTALL_MODE"