Commit a4791f43 authored by incardon's avatar incardon
Browse files

Fixing python solve

parent 0c1df622
......@@ -8,6 +8,7 @@ source script/remove_old
source script/set_mpi
source script/conf_PETSC
source script/update_openfpm
source script/solve_python
### switch to the branch
......
#! /bin/bash
function solve_python() {
source script/show_solutions
source script/discover_package_manager
discover_package_manager $1
pcman=$discover_package_manager_ret
if [ x"$pcman" = x"" ]; then
exit 1
fi
if [ x"$1" = x"osx" ]; then
commands[0]="$pcman install autoconf"
possible_solutions "${commands[@]}"
elif [ x"$1" = x"linux" ]; then
pc_install_command $pcman
commands[0]="su -c \"$pc_install_command_ret python\""
commands[1]="sudo $pc_install_command_ret python"
possible_solutions "${commands[@]}"
fi
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment