diff options
author | Pascal Terjan <pterjan@gmail.com> | 2016-10-12 00:18:50 +0100 |
---|---|---|
committer | Pascal Terjan <pterjan@gmail.com> | 2016-10-12 00:18:50 +0100 |
commit | fd6c519a86a943c9ba955a456be6b451e5f72003 (patch) | |
tree | a5895d9186097cacaede1ccf1900f0ecc791bde8 /lib | |
parent | bf6f7e3ad1ef4083e933975e5b8b3b756633ca2e (diff) | |
download | iurt-fd6c519a86a943c9ba955a456be6b451e5f72003.tar iurt-fd6c519a86a943c9ba955a456be6b451e5f72003.tar.gz iurt-fd6c519a86a943c9ba955a456be6b451e5f72003.tar.bz2 iurt-fd6c519a86a943c9ba955a456be6b451e5f72003.tar.xz iurt-fd6c519a86a943c9ba955a456be6b451e5f72003.zip |
Fix uploading of noarch packages
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Iurt/Emi.pm | 2 |
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; |