Skip to content
Snippets Groups Projects
Commit a4791f43 authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Fixing python solve

parent 0c1df622
No related branches found
No related tags found
No related merge requests found
......@@ -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
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment