install.pl: Added SLES12 SP4 support
authorVladimir Sokolovsky <vlad@mellanox.com>
Thu, 7 Feb 2019 19:20:29 +0000 (21:20 +0200)
committerVladimir Sokolovsky <vlad@mellanox.com>
Thu, 7 Feb 2019 19:20:29 +0000 (21:20 +0200)
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
install.pl

index 6bce8bd..e8e651e 100755 (executable)
@@ -224,7 +224,10 @@ chomp $dist_rpm;
 
 my $rpm_distro = '';
 
-if ($dist_rpm =~ /sles-release-12\.3|SLES.*release-12\.3/) {
+if ($dist_rpm =~ /sles-release-12\.4|SLES.*release-12\.4/) {
+    $DISTRO = "SLES12";
+    $rpm_distro = "sles12sp4";
+} elsif ($dist_rpm =~ /sles-release-12\.3|SLES.*release-12\.3/) {
     $DISTRO = "SLES12";
     $rpm_distro = "sles12sp3";
 } elsif ($dist_rpm =~ /sles-release-12\.2|SLES.*release-12\.2/) {