From 749c91ae44c77292ce4cccebf6e035d99bfb9621 Mon Sep 17 00:00:00 2001 From: Pietro Incardona <incardon@mpi-cbg.de> Date: Wed, 12 Jul 2017 23:59:41 +0200 Subject: [PATCH] fixing update system --- install | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/install b/install index 6d9512a8..7906e1df 100755 --- a/install +++ b/install @@ -81,11 +81,8 @@ if [ x"$i_dir" == x"" ]; then i_dir="$HOME" fi -remove_old $i_dir - ## Check and try to install the prerequisites -pre_req if [ $update_openfpm -eq 1 -a $upgrade_openfpm -eq 1 ]; then echo -e "\033[1;5;31m It is not possible to update and upgrade at the same time \033[0m" @@ -102,6 +99,12 @@ if [ $upgrade_openfpm -eq 1 ]; then exit 0 fi +remove_old $i_dir + +## Check and try to install the prerequisites + +pre_req + ## clone the dependencies git submodule init -- GitLab