mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 17:40:06 +08:00
Fix install script (#3048)
This commit is contained in:
parent
898312174c
commit
7ba443f195
@ -139,7 +139,12 @@ fetch_repo () {
|
|||||||
else
|
else
|
||||||
info "Trying to clone SpaceVim"
|
info "Trying to clone SpaceVim"
|
||||||
git clone https://github.com/SpaceVim/SpaceVim.git "$HOME/.SpaceVim"
|
git clone https://github.com/SpaceVim/SpaceVim.git "$HOME/.SpaceVim"
|
||||||
|
if [ $? -eq 0 ]; then
|
||||||
success "Successfully clone SpaceVim"
|
success "Successfully clone SpaceVim"
|
||||||
|
else
|
||||||
|
error "Failed to clone SpaceVim"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
# }}}
|
# }}}
|
||||||
@ -331,7 +336,7 @@ welcome () {
|
|||||||
echo_with_color ${Yellow} " | ## "
|
echo_with_color ${Yellow} " | ## "
|
||||||
echo_with_color ${Yellow} " |__/ "
|
echo_with_color ${Yellow} " |__/ "
|
||||||
echo_with_color ${Yellow} " version : ${Version} by : spacevim.org "
|
echo_with_color ${Yellow} " version : ${Version} by : spacevim.org "
|
||||||
}
|
}
|
||||||
|
|
||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user