diff --git a/install.sh b/install.sh index 9f1722d..e225fdb 100644 --- a/install.sh +++ b/install.sh @@ -13,10 +13,10 @@ # ---------- # Changelog: # -# Note that, the '@user' represents the user id of Gitee public service. +# Note that, the '@user' represents the user id of Gitee # # ~> v0.1.0 -# <2023-05-09> Check Git first by @ccmywish, idea by @zhdong_admin +# <2023-05-09> Check Git first and add CI on Gitee by @ccmywish # <2023-05-01> Update nvm repo source by @ccmywish # <2022-11-14> Update Node.JS mirror source by @aifuxi # <2021-01-06> Create file by @ccmywish @@ -55,7 +55,10 @@ echo "export NVM_NODEJS_ORG_MIRROR=https://npmmirror.com/mirrors/node" >> ~/.zsh echo "=> 安装nvm-update,升级更新请使用该命令" curl -fsSL https://gitee.com/RubyKids/nvm-cn/raw/main/nvm-update.sh -o nvm-update.sh chmod +x ./nvm-update.sh -sudo mv ./nvm-update.sh /usr/local/bin/nvm-update + +if ! [ -v NVM_CN-IN-CI-TEST ];then + sudo mv ./nvm-update.sh /usr/local/bin/nvm-update +fi echo "=> 安装完成!" echo "=> 最后请您重启终端"