From 346f8d31674b2c17778950f761ba5eaa9bbf7d09 Mon Sep 17 00:00:00 2001 From: "flyingscorpio@arch-desktop" Date: Thu, 19 Mar 2020 12:59:02 +0100 Subject: [PATCH] Add if for mkdir Lessons --- clone_projects.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/clone_projects.sh b/clone_projects.sh index 1145637..09d1c3d 100644 --- a/clone_projects.sh +++ b/clone_projects.sh @@ -8,7 +8,9 @@ ################## echo "Setting up Lessons..." -mkdir ~/Lessons +if [ ! -e ~/Lessons ]; then + mkdir ~/Lessons +fi echo "Setting up E2L..." if [ -e ~/Lessons/E2L ]; then