From 7d7160912cc958ea9a3a1c3c29a86853a3e7c6e4 Mon Sep 17 00:00:00 2001
From: Pietro Incardona <incardon@mpi-cbg.de>
Date: Sun, 30 Jul 2017 13:54:07 +0200
Subject: [PATCH] fixing python on archlinux

---
 install | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/install b/install
index 322018fe..4f4f9539 100755
--- a/install
+++ b/install
@@ -8,7 +8,6 @@ source script/remove_old
 source script/set_mpi
 source script/conf_PETSC
 source script/update_openfpm
-source script/solve_python
 
 ### switch to the branch
 
@@ -222,11 +221,11 @@ if [ ! -d "$i_dir/PETSC" -o ! -d "$i_dir/EIGEN" ]; then
     if [ $? -ne 0 ]; then
       ### We have to install python
       echo "OpenFPM require python but it's not installed, searching a solution... "
-      solve_python
+      ./script/solve_python $platform
       command -v python
       if [ $? -ne 0 ]; then
 	echo -e "python\033[91;5;1m FAILED \033[0m"
-        return
+        exit 1
       fi
     fi
 fi
-- 
GitLab