diff options
author | Pascal Terjan <pterjan@gmail.com> | 2016-11-24 13:20:50 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@gmail.com> | 2016-11-24 13:20:50 +0000 |
commit | 5df7c6f90fd6ad53df1ad39e2ea383be543f4ba1 (patch) | |
tree | ca54f071014bbe15c203952dd2598504e5ba94c7 | |
parent | 3b7176ba99a3fe6452f267d460b1c7c13149cbce (diff) | |
download | iurt-5df7c6f90fd6ad53df1ad39e2ea383be543f4ba1.tar iurt-5df7c6f90fd6ad53df1ad39e2ea383be543f4ba1.tar.gz iurt-5df7c6f90fd6ad53df1ad39e2ea383be543f4ba1.tar.bz2 iurt-5df7c6f90fd6ad53df1ad39e2ea383be543f4ba1.tar.xz iurt-5df7c6f90fd6ad53df1ad39e2ea383be543f4ba1.zip |
Do not check which architectures are ready to uploads when we don't have any built package
-rw-r--r-- | lib/Iurt/Emi.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Iurt/Emi.pm b/lib/Iurt/Emi.pm index b0e5597..569024c 100644 --- a/lib/Iurt/Emi.pm +++ b/lib/Iurt/Emi.pm @@ -37,6 +37,11 @@ sub find_prefixes_ready_to_upload { plog('DEBUG', "... in $path"); + if (! @{$pkg_tree{$prefix}{media}{$media}{rpms}}) { + $ok = 0; + last; + } + if ($pkg_tree{$prefix}{media}{$media}{uploaded}) { plog('INFO', "package already uploaded for mandatory arches, proceeding"); next; |