From f987d98e1bfb81ff5927ae0322a5ee770bda16d8 Mon Sep 17 00:00:00 2001 From: "flyingscorpio@arch-desktop" Date: Wed, 25 Mar 2020 11:28:55 +0100 Subject: [PATCH] Add RustBook --- clone_projects.sh | 9 +++++++++ 1 file changed, 9 insertions(+) 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}"