aboutsummaryrefslogtreecommitdiffstats
path: root/iurt2
diff options
context:
space:
mode:
Diffstat (limited to 'iurt2')
-rwxr-xr-xiurt22
1 files changed, 1 insertions, 1 deletions
diff --git a/iurt2 b/iurt2
index fbb9e66..2cc6979 100755
--- a/iurt2
+++ b/iurt2
@@ -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;