1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 13:10:04 +08:00

Fix install script (#3048)

This commit is contained in:
Wang Shidong 2019-09-12 14:11:18 +08:00 committed by GitHub
parent 898312174c
commit 7ba443f195
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -139,7 +139,12 @@ fetch_repo () {
else
info "Trying to clone SpaceVim"
git clone https://github.com/SpaceVim/SpaceVim.git "$HOME/.SpaceVim"
if [ $? -eq 0 ]; then
success "Successfully clone SpaceVim"
else
error "Failed to clone SpaceVim"
exit 0
fi
fi
}
# }}}
@ -331,7 +336,7 @@ welcome () {
echo_with_color ${Yellow} " | ## "
echo_with_color ${Yellow} " |__/ "
echo_with_color ${Yellow} " version : ${Version} by : spacevim.org "
}
}
# }}}