From: Vladimir Sokolovsky Date: Mon, 10 Oct 2016 08:23:34 +0000 (+0300) Subject: install.pl: Added SLES12 SP2 support X-Git-Tag: vofed-4.8-rc4~19 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=d47dd2250e85ddc7f8a1cd848e6fd060121a108e;p=~vlad%2Fofed_scripts.git install.pl: Added SLES12 SP2 support Signed-off-by: Vladimir Sokolovsky --- diff --git a/install.pl b/install.pl index d380982..2d70250 100755 --- a/install.pl +++ b/install.pl @@ -239,6 +239,9 @@ if ($dist_rpm =~ /openSUSE-release-11.2/) { } elsif ($dist_rpm =~ /openSUSE/) { $DISTRO = "openSUSE"; $rpm_distro = "opensuse11sp0"; +} elsif ($dist_rpm =~ /sles-release-12\.2|SLES.*release-12\.2/) { + $DISTRO = "SLES12"; + $rpm_distro = "sles12sp2"; } elsif ($dist_rpm =~ /sles-release-12\.1|SLES.*release-12\.1/) { $DISTRO = "SLES12"; $rpm_distro = "sles12sp1";