diff options
author | Pascal Terjan <pterjan@gmail.com> | 2016-01-23 17:39:21 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@gmail.com> | 2016-01-23 17:39:21 +0000 |
commit | 863e628c20f4fd89d5d2a7ea28a4c24f74008c8f (patch) | |
tree | 8a8b590be4a8db829b082301059c48434dce9bc7 /emi | |
parent | 99c2e1fca6d96d969486cbe202517a783948fedf (diff) | |
download | iurt-863e628c20f4fd89d5d2a7ea28a4c24f74008c8f.tar iurt-863e628c20f4fd89d5d2a7ea28a4c24f74008c8f.tar.gz iurt-863e628c20f4fd89d5d2a7ea28a4c24f74008c8f.tar.bz2 iurt-863e628c20f4fd89d5d2a7ea28a4c24f74008c8f.tar.xz iurt-863e628c20f4fd89d5d2a7ea28a4c24f74008c8f.zip |
Use same structure in pkg_tree than ulri
Diffstat (limited to 'emi')
-rwxr-xr-x | emi | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -175,7 +175,7 @@ sub todo_func { if ($r =~ /(\d{14}\.\w+\.\w+\.\d+)_(.*\.([^.]+)\.rpm)$/) { my ($prefix, $rpm) = ($1, $2); plog('DEBUG', "found todo rpm $rpm ($prefix)"); - push @{$pkg_tree{$prefix}{todo}}, $rpm; + push @{$pkg_tree{$prefix}{srpms}}, $rpm; } } @@ -332,7 +332,7 @@ sub upload_prefix_in_media { } } if ($all_done) { - foreach (@{$pkg_tree{$prefix}{todo}}) { + foreach (@{$pkg_tree{$prefix}{srpms}}) { plog('DEBUG', "unlink $todo/$path/${prefix}_$_"); unlink("$todo/$path/${prefix}_$_"); } |