mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-02 22:50:06 +08:00
chore(install): switch to gitlab
This commit is contained in:
parent
7cceee2793
commit
f7ebfb455e
@ -138,7 +138,7 @@ fetch_repo () {
|
|||||||
success "SpaceVim 更新已完成"
|
success "SpaceVim 更新已完成"
|
||||||
else
|
else
|
||||||
info "正在安装 SpaceVim..."
|
info "正在安装 SpaceVim..."
|
||||||
git clone https://github.com/SpaceVim/SpaceVim.git "$HOME/.SpaceVim"
|
git clone https://gitlab.com/SpaceVim/SpaceVim.git "$HOME/.SpaceVim"
|
||||||
success "SpaceVim 安装已完成"
|
success "SpaceVim 安装已完成"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
@ -143,7 +143,7 @@ fetch_repo () {
|
|||||||
success "Successfully update SpaceVim"
|
success "Successfully update SpaceVim"
|
||||||
else
|
else
|
||||||
info "Trying to clone SpaceVim"
|
info "Trying to clone SpaceVim"
|
||||||
git clone https://github.com/SpaceVim/SpaceVim.git "${XDGSpaceDir:-}"
|
git clone https://gitlab.com/SpaceVim/SpaceVim.git "${XDGSpaceDir:-}"
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
success "Successfully clone SpaceVim"
|
success "Successfully clone SpaceVim"
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user