From c1b29e9cf439353a8fcd1f4498645d68c927e016 Mon Sep 17 00:00:00 2001
From: Ned Coltman <edward.coltman@iws.uni-stuttgart.de>
Date: Tue, 31 Mar 2020 17:20:08 +0200
Subject: [PATCH] [installscript] update checkout command for dumux and
 dumux-course to 3.2

---
 scripts/install.sh | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/scripts/install.sh b/scripts/install.sh
index de768bda..95153477 100644
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -106,22 +106,18 @@ fi
 
 # dumux
 if [ ! -d "dumux" ]; then
-    #git clone -b releases/3.2 https://git.iws.uni-stuttgart.de/dumux-repositories/dumux.git
-    git clone https://git.iws.uni-stuttgart.de/dumux-repositories/dumux.git
+    git clone -b releases/3.2 https://git.iws.uni-stuttgart.de/dumux-repositories/dumux.git
 else
     echo "Skip cloning dumux because the folder already exists."
-    #git checkout releases/3.2
-    git checkout master
+    git checkout releases/3.2
 fi
 
 # dumux-course
 if [ ! -d "dumux-course" ]; then
-#     git clone -b releases/3.2 https://git.iws.uni-stuttgart.de/dumux-repositories/dumux-course.git
-    git clone https://git.iws.uni-stuttgart.de/dumux-repositories/dumux-course.git
+    git clone -b releases/3.2 https://git.iws.uni-stuttgart.de/dumux-repositories/dumux-course.git
 else
     echo "Skip cloning dumux-course because the folder already exists."
-    #git checkout releases/3.2
-    git checkout master
+    git checkout releases/3.2
 fi
 
 if [ $? -ne 0 ]; then
-- 
GitLab