aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@gmail.com>2016-01-23 15:58:28 +0000
committerPascal Terjan <pterjan@gmail.com>2016-01-23 15:58:28 +0000
commit1c0ce098e8839996b931c58f5e44ebe664d9f01b (patch)
tree390b5aa1853dde73e4bf0521ca97f7675c758c4c
parent351f891c10520c9deebb065f8565c6ba3b6a260b (diff)
downloadiurt-1c0ce098e8839996b931c58f5e44ebe664d9f01b.tar
iurt-1c0ce098e8839996b931c58f5e44ebe664d9f01b.tar.gz
iurt-1c0ce098e8839996b931c58f5e44ebe664d9f01b.tar.bz2
iurt-1c0ce098e8839996b931c58f5e44ebe664d9f01b.tar.xz
iurt-1c0ce098e8839996b931c58f5e44ebe664d9f01b.zip
Removed useless duplication of information
-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;
}