Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
argupta
openfpm_pdata
Commits
a73e9241
Commit
a73e9241
authored
Jul 26, 2017
by
incardon
Browse files
Fixing gfortran installation
parent
5d469178
Changes
1
Hide whitespace changes
Inline
Side-by-side
script/solve_gfortran
View file @
a73e9241
...
...
@@ -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
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment