diff options
Diffstat (limited to 'emi')
-rwxr-xr-x | emi | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -118,7 +118,7 @@ foreach my $prefix (keys %pkg_tree) { my $section = $pkg_tree{$prefix}{section}; print {$run{LOG}} "$program_name: processing $prefix in $path\n"; my %missing; - foreach my $mandatory_arch (@{$config->{mandatory_arch}}, 'src') { + foreach my $mandatory_arch (@{$config->{mandatory_arch}}, 'src', 'noarch') { print {$run{LOG}} "$program_name: checking if mandatory architecture $mandatory_arch is present: "; if (!$pkg_tree{$prefix}{arch}{$mandatory_arch} ){ if (!$cache->{arch}{$prefix}{$mandatory_arch}) { @@ -127,6 +127,7 @@ foreach my $prefix (keys %pkg_tree) { $ok = 0 } } else { + if ($mandatory_arch eq 'noarch') { $ok = 1 } print {$run{LOG}} "yes\n" } } |