Set Lessons folder
This commit is contained in:
parent
0a27ddf630
commit
b17c690427
1 changed files with 15 additions and 12 deletions
|
@ -7,13 +7,25 @@
|
|||
# REPOS ON LIME2 #
|
||||
##################
|
||||
|
||||
echo "Setting up Lessons..."
|
||||
mkdir ~/Lessons
|
||||
|
||||
echo "Setting up E2L..."
|
||||
if [ -e ~/E2L ]; then
|
||||
if [ -e ~/Lessons/E2L ]; then
|
||||
echo "${GREEN}E2L is already there, updating...${NC}"
|
||||
cd ~/E2L && git pull
|
||||
cd ~/Lessons/E2L && git pull
|
||||
else
|
||||
echo "${ORANGE}Cloning new E2L...${NC}"
|
||||
cd && git clone ssh://flyingscorpio@2px.info.tm/~/repos/E2L.git
|
||||
cd ~/Lessons && git clone ssh://flyingscorpio@2px.info.tm/~/repos/E2L.git
|
||||
fi
|
||||
|
||||
echo "Setting up OpenClassrooms..."
|
||||
if [ -e ~/Lessons/OpenClassrooms ]; then
|
||||
echo "${GREEN}OpenClassrooms is already there, updating...${NC}"
|
||||
cd ~/Lessons/OpenClassrooms && git pull
|
||||
else
|
||||
echo "${ORANGE}Cloning new OpenClassrooms...${NC}"
|
||||
cd ~/Lessons && git clone ssh://flyingscorpio@2px.info.tm/~/repos/OpenClassrooms.git
|
||||
fi
|
||||
|
||||
echo "Setting up Keepass..."
|
||||
|
@ -25,15 +37,6 @@ else
|
|||
cd && git clone ssh://flyingscorpio@2px.info.tm/~/repos/Keepass.git
|
||||
fi
|
||||
|
||||
echo "Setting up Lessons..."
|
||||
if [ -e ~/Lessons ]; then
|
||||
echo "${GREEN}Lessons is already there, updating...${NC}"
|
||||
cd ~/Lessons && git pull
|
||||
else
|
||||
echo "${ORANGE}Cloning new Lessons...${NC}"
|
||||
cd && git clone ssh://flyingscorpio@2px.info.tm/~/repos/Lessons.git
|
||||
fi
|
||||
|
||||
echo "Setting up PersonnalScripts..."
|
||||
if [ -e ~/PersonnalScripts ]; then
|
||||
echo "${GREEN}PersonnalScripts is already there, updating...${NC}"
|
||||
|
|
Loading…
Add table
Reference in a new issue