diff --git a/clone_projects.sh b/clone_projects.sh index b758e2b..c61e39f 100644 --- a/clone_projects.sh +++ b/clone_projects.sh @@ -28,6 +28,15 @@ else cd ~/Lessons && git clone ssh://flyingscorpio@2px.info.tm/~/repos/OpenClassrooms.git fi +echo "Setting up RustBook..." +if [ -e ~/Lessons/RustBook ]; then + echo "${GREEN}RustBook is already there, updating...${NC}" + cd ~/Lessons/RustBook && git pull +else + echo "${ORANGE}Cloning new RustBook...${NC}" + cd ~/Lessons && git clone ssh://flyingscorpio@2px.info.tm/~/repos/RustBook.git +fi + echo "Setting up Keepass..." if [ -e ~/Keepass ]; then echo "${GREEN}Keepass is already there, updating...${NC}"