From 1b253eafe78a38cb2e59b65980f5412c335177f6 Mon Sep 17 00:00:00 2001 From: lizw <1183409807@qq.com> Date: Sun, 30 Oct 2022 21:31:20 +0800 Subject: [PATCH] 07env-install-centos.sh --- 00base/07env-install-centos.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/00base/07env-install-centos.sh b/00base/07env-install-centos.sh index b9fa2ae..b7d68b6 100644 --- a/00base/07env-install-centos.sh +++ b/00base/07env-install-centos.sh @@ -274,7 +274,7 @@ function init:add_user() { function init:git() { log::info "[git]" "安装git环境..." local host="127.0.0.1" - local exc_cmd = "git config --global credential.helper store" + local exc_cmd="git config --global credential.helper store" command::exec "${host}" " yum -y install https://packages.endpointdev.com/rhel/7/os/x86_64/endpoint-repo.x86_64.rpm yum -y install git @@ -333,7 +333,7 @@ function init:nginx() { function init:nodejs() { log::info "[nodejs]" "安装nodejs环境..." local host="127.0.0.1" - local exc_cmd = " + local exc_cmd=" # 配置npm源 npm config set registry https://registry.npm.taobao.org npm config set disturl https://npm.taobao.org/dist