From 516db95b3c14b4ce468ae36dee3babf08072e609 Mon Sep 17 00:00:00 2001 From: Pietro Incardona <incardon@mpi-cbg.de> Date: Mon, 31 Jul 2017 14:56:02 +0200 Subject: [PATCH] Fixing installation for zypper opensuse --- script/solve_gpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/solve_gpp b/script/solve_gpp index 1c681a27..5aafb19b 100755 --- a/script/solve_gpp +++ b/script/solve_gpp @@ -25,7 +25,7 @@ elif [ x"$1" = x"linux" ]; then possible_solutions "${commands[@]}" compiler_gcc="gcc" compiler_gpp="g++" - elif [ x"$pcman" == x"yum" ]; then + elif [ x"$pcman" == x"yum" -o x"$pcman" == x"zypper" ]; then commands[0]="su -c \"$pcman install gcc-c++\"" commands[1]="sudo $pcman install gcc-c++" possible_solutions "${commands[@]}" -- GitLab