From 219de89246c77d1ebc61773b91928e6c5a9e27f5 Mon Sep 17 00:00:00 2001
From: Theresa Schollenberger <theresa.schollenberger@iws.uni-stuttgart.de>
Date: Wed, 26 May 2021 16:47:28 +0200
Subject: [PATCH] update install script

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

diff --git a/scripts/install.sh b/scripts/install.sh
index c3048a31..2ff22ae5 100644
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -51,12 +51,12 @@ cd DUMUX
 
 # download the test script and the cmake.opts
 if [ ! -f "test_dumux.sh" ]; then
-    wget https://git.iws.uni-stuttgart.de/dumux-repositories/dumux-course/raw/releases/3.3/scripts/test_dumux.sh
+    wget https://git.iws.uni-stuttgart.de/dumux-repositories/dumux-course/raw/releases/3.4/scripts/test_dumux.sh
 fi
 chmod +x test_dumux.sh
 
 if [ ! -f "cmake.opts" ]; then
-    wget https://git.iws.uni-stuttgart.de/dumux-repositories/dumux-course/raw/releases/3.3/cmake.opts
+    wget https://git.iws.uni-stuttgart.de/dumux-repositories/dumux-course/raw/releases/3.4/cmake.opts
 fi
 
 if [ $? -ne 0 ]; then
@@ -98,29 +98,29 @@ done
 
 # dune-subgrid
 if [ ! -d "dune-subgrid" ]; then
-    git clone -b releases/2.6-1  https://git.imp.fu-berlin.de/agnumpde/dune-subgrid.git
+    git clone -b releases/$DUNE_VERSION  https://git.imp.fu-berlin.de/agnumpde/dune-subgrid.git
 else
     echo "Skip cloning dune-subgrid because the folder already exists."
-    git checkout releases/2.6-1
+    git checkout releases/$DUNE_VERSION
 fi
 
 # dumux
 if [ ! -d "dumux" ]; then
-    git clone -b releases/3.3 https://git.iws.uni-stuttgart.de/dumux-repositories/dumux.git
+    git clone -b releases/3.4 https://git.iws.uni-stuttgart.de/dumux-repositories/dumux.git
 else
     echo "Skip cloning dumux because the folder already exists."
     cd dumux
-    git checkout releases/3.3
+    git checkout releases/3.4
     cd ..
 fi
 
 # dumux-course
 if [ ! -d "dumux-course" ]; then
-    git clone -b releases/3.3 https://git.iws.uni-stuttgart.de/dumux-repositories/dumux-course.git
+    git clone -b releases/3.4 https://git.iws.uni-stuttgart.de/dumux-repositories/dumux-course.git
 else
     echo "Skip cloning dumux-course because the folder already exists."
     cd dumux-course
-    git checkout releases/3.3
+    git checkout releases/3.4
     cd ..
 fi
 
-- 
GitLab