install.pl: Added RHEL7.6 support
authorVladimir Sokolovsky <vlad@mellanox.com>
Thu, 7 Feb 2019 00:00:37 +0000 (18:00 -0600)
committerVladimir Sokolovsky <vlad@mellanox.com>
Thu, 7 Feb 2019 00:00:37 +0000 (18:00 -0600)
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
install.pl

index ef6afa6..6bce8bd 100755 (executable)
@@ -242,6 +242,9 @@ if ($dist_rpm =~ /sles-release-12\.3|SLES.*release-12\.3/) {
 } elsif ($dist_rpm =~ /redhat-release-.*-7.5|sl-release-7.5|centos-release-7-5/) {
     $DISTRO = "RHEL7.5";
     $rpm_distro = "rhel7u5";
+} elsif ($dist_rpm =~ /redhat-release-.*-7.6|sl-release-7.6|centos-release-7.6/) {
+    $DISTRO = "RHEL7.6";
+    $rpm_distro = "rhel7.6";
 } elsif ($dist_rpm =~ /Ubuntu/) {
     $DISTRO = "UBUNTU$dist_rpm_ver";
     $rpm_distro =~ tr/[A-Z]/[a-z]/;