]> git.openfabrics.org - ~vlad/ofed_scripts.git/commitdiff
Check that redhat-rpm-config is installed on all redhat/fedora based
authorVladimir Sokolovsky <vlad@mellanox.co.il>
Sun, 7 Dec 2008 07:51:42 +0000 (09:51 +0200)
committerVladimir Sokolovsky <vlad@mellanox.co.il>
Sun, 7 Dec 2008 07:51:42 +0000 (09:51 +0200)
distributions if debuginfo RPMs were selected to be installed.

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.co.il>
install.pl

index d6f89923d1ed494cf4dc2c391715c38e00296c02..07faf6cddc4aa3bd1c9f613f0917b1d49456979b 100755 (executable)
@@ -2569,7 +2569,7 @@ sub check_linux_dependencies
             }
         }
 
-        if ($package =~ /debuginfo/ and ($distro eq 'redhat' or $distro eq 'fedora' or $distro eq 'redhat5')) {
+        if ($package =~ /debuginfo/ and ($distro =~ /redhat|fedora/)) {
             if (not $packages_info{$package}{'rpm_exist'}) {
                 if (not is_installed("redhat-rpm-config")) {
                     print RED "redhat-rpm-config rpm is required to build $package", RESET "\n";