Make gitmail optional

This commit is contained in:
Alexandre
2022-04-27 13:56:49 +02:00
committed by GitHub
parent e9436f9faf
commit 425f8ed7d2

View File

@@ -20,7 +20,7 @@ git config --system http.sslVerify false
git config --system credential.helper 'cache --timeout 7200'
git config --system user.name "${GITUSER}"
git config --system user.password "${GITPASS}"
git config --system user.email "${GITMAIL}"
if [[ "$GITMAIL" != "null" ]]; then git config --system user.email "${GITMAIL}"; fi
if bashio::config.has_value 'gitapi'; then
LOGINFO="... setting github API" && if [ "$VERBOSE" = true ]; then bashio::log.info "$LOGINFO"; fi