diff options
Diffstat (limited to 'iurt2')
-rwxr-xr-x | iurt2 | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -165,7 +165,7 @@ foreach my $dir ("$config->{repository}/$distro_version/SRPMS/$media/", @special $srpm = $1 } $srpm =~ /(.*)-[^-]+-[^-]+\.src\.rpm$/ or next; - if ($srpm =~ /$config->{unwanted_packages}/) { next } + if ($config->{unwanted_packages} && $srpm =~ /$config->{unwanted_packages}/) { next } my $ok = 1; if (check_version($srpm)) { defined $cache->{failure}{$srpm} && defined $cache->{failure}{$srpm}{$my_arch} and next; |