Commit f8500fc9 authored by incardon's avatar incardon

Fixing installation on opensuse

parent b9ee4733
......@@ -18,7 +18,7 @@ elif [ x"$1" = x"linux" ]; then
commands[0]="su -c \"$pcman -Sy gcc-fortran\""
commands[1]="sudo $pcman -Sy gcc-fortran"
possible_solutions "${commands[@]}"
elif [ x"$pcman" == x"zypper" ]; then
elif [ x"$pcman" == x"zypper -n" ]; then
commands[0]="su -c \"$pcman install gcc-fortran\""
commands[1]="sudo $pcman install gcc-fortran"
possible_solutions "${commands[@]}"
......
......@@ -25,7 +25,7 @@ elif [ x"$1" = x"linux" ]; then
possible_solutions "${commands[@]}"
compiler_gcc="gcc"
compiler_gpp="g++"
elif [ x"$pcman" == x"yum" -o x"$pcman" == x"zypper" ]; then
elif [ x"$pcman" == x"yum" -o x"$pcman" == x"zypper -n" ]; then
commands[0]="su -c \"$pcman install gcc-c++\""
commands[1]="sudo $pcman install gcc-c++"
possible_solutions "${commands[@]}"
......
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