Browse Source

07env-install-centos.sh

master
lizw 3 years ago
parent
commit
7b37e78ca3
  1. 2
      00base/07env-install-centos.sh

2
00base/07env-install-centos.sh

@ -282,7 +282,7 @@ function init:git() {
log::info "[git]" "git环境安装成功!" log::info "[git]" "git环境安装成功!"
if [[ "${ADD_USER_TAG:-}" == "1" ]]; then if [[ "${ADD_USER_TAG:-}" == "1" ]]; then
command::exec "${host}" " command::exec "${host}" "
echo '${ADD_USER_PASSWORD}' | su - ${ADD_USER_NAME} -c git config --global credential.helper store echo '${ADD_USER_PASSWORD}' | su - ${ADD_USER_NAME} -c \"git config --global credential.helper store\"
" "
check::exit_code "$?" "git" "$host git配置" "exit" check::exit_code "$?" "git" "$host git配置" "exit"
log::info "[git]" "git配置成功!" log::info "[git]" "git配置成功!"

Loading…
Cancel
Save