aboutsummaryrefslogtreecommitdiffstats
path: root/emi
diff options
context:
space:
mode:
Diffstat (limited to 'emi')
-rwxr-xr-xemi3
1 files changed, 2 insertions, 1 deletions
diff --git a/emi b/emi
index 4914860..4c70fbd 100755
--- a/emi
+++ b/emi
@@ -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"
}
}