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

Fixing gfortran installation

parent 5d469178
No related branches found
No related tags found
No related merge requests found
......@@ -14,9 +14,15 @@ if [ x"$1" = x"osx" ]; then
commands[0]="$pcman install gcc"
possible_solutions "${commands[@]}"
elif [ x"$1" = x"linux" ]; then
commands[0]="su -c \"$pcman install gfortran\""
commands[1]="sudo $pcman install gfortran"
possible_solutions "${commands[@]}"
if [ x"$pcman" == "apt-get" ]; then
commands[0]="su -c \"$pcman install gfortran\""
commands[1]="sudo $pcman install gfortran"
possible_solutions "${commands[@]}"
else
commands[0]="su -c \"$pcman install gcc-gfortran\""
commands[1]="sudo $pcman install gcc-gfortran"
possible_solutions "${commands[@]}"
fi
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