aboutsummaryrefslogtreecommitdiffstats
path: root/emi
diff options
context:
space:
mode:
Diffstat (limited to 'emi')
-rwxr-xr-xemi5
1 files changed, 1 insertions, 4 deletions
diff --git a/emi b/emi
index 2b8e328..a3ca1e9 100755
--- a/emi
+++ b/emi
@@ -120,7 +120,6 @@ my $reject = "$config->{queue}/rejected";
my %pkg_tree;
my %excluded;
-my %archdone;
my %uploaded;
@@ -139,7 +138,7 @@ sub done_func {
my ($arch, $result) = ($1, $2);
if ($result eq 'done') {
plog('DEBUG', "found .done ($prefix) for $arch");
- $archdone{$prefix}{$section}{$arch} = 1;
+ $pkg_tree{$prefix}{section}{$section}{arch}{$arch} = 1;
} elsif ($result eq 'excluded') {
$arch = $config->{arch_translation}{$arch} if $config->{arch_translation}{$arch};
plog('DEBUG', "found .excluded ($prefix) for $arch");
@@ -167,8 +166,6 @@ sub done_post {
if ($arch eq 'src') {
push @{$pkg_tree{$prefix}{section}{$section}{srpms}}, $rpm;
$pkg_tree{$prefix}{section}{$section}{arch}{src} = 1;
- } elsif ($archdone{$prefix}{$section}{$arch}) {
- $pkg_tree{$prefix}{section}{$section}{arch}{$arch} = 1;
}
push @{$pkg_tree{$prefix}{section}{$section}{rpms}} , $rpm;
}