From 27138e012c593789aae912e12ea5dc2e76773093 Mon Sep 17 00:00:00 2001 From: Vladimir Sokolovsky Date: Sun, 7 Dec 2008 09:51:42 +0200 Subject: [PATCH] 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 --- install.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; -- 2.46.0