From: Vladimir Sokolovsky Date: Sun, 7 Dec 2008 07:51:42 +0000 (+0200) Subject: Check that redhat-rpm-config is installed on all redhat/fedora based X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=27138e012c593789aae912e12ea5dc2e76773093;p=~aditr%2Fofed_scripts.git Check that redhat-rpm-config is installed on all redhat/fedora based distributions if debuginfo RPMs were selected to be installed. Signed-off-by: Vladimir Sokolovsky --- diff --git a/install.pl b/install.pl index d6f8992..07faf6c 100755 --- a/install.pl +++ b/install.pl @@ -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";