aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Iurt/Emi.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Iurt/Emi.pm b/lib/Iurt/Emi.pm
index 544a62a..9e326e1 100644
--- a/lib/Iurt/Emi.pm
+++ b/lib/Iurt/Emi.pm
@@ -30,7 +30,7 @@ sub find_prefixes_ready_to_upload {
my $ok = 1;
foreach my $media (keys %{$pkg_tree{$prefix}{media}}) {
- my @wanted_archs = defined($pkg_tree{$prefix}{media}{$media}{arch}{noarch}) ? 'noarch' : @$mandatory_arch;
+ my @wanted_archs = defined($pkg_tree{$prefix}{media}{$media}{done_arch}{noarch}) ? 'noarch' : @$mandatory_arch;
my $path = $pkg_tree{$prefix}{media}{$media}{path};
my %missing;