mirror of
https://github.com/limosek/zaf.git
synced 2024-11-21 09:59:07 +01:00
Repaired git detection
This commit is contained in:
parent
375f805b6a
commit
8e8e1b9dfc
10
install.sh
10
install.sh
@ -244,10 +244,12 @@ zaf_configure(){
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
if zaf_which git >/dev/null; then
|
||||
ZAF_GIT=1
|
||||
else
|
||||
ZAF_GIT=0
|
||||
if [ -z "$ZAF_GIT" ]; then
|
||||
if zaf_which git >/dev/null; then
|
||||
ZAF_GIT=1
|
||||
else
|
||||
ZAF_GIT=0
|
||||
fi
|
||||
fi
|
||||
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"
|
||||
|
Loading…
Reference in New Issue
Block a user