aboutsummaryrefslogtreecommitdiffstats
path: root/emi
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2011-05-08 22:43:02 +0000
committerPascal Terjan <pterjan@mageia.org>2011-05-08 22:43:02 +0000
commit5de8515ade93e6b98cd5bbe3e6cb9e6e3fedff61 (patch)
tree18c19b314c28a97a12ba3435625b82bc05ba58ca /emi
parent4088efef86979e1965173ad8597dc5fdc2800184 (diff)
downloadiurt-5de8515ade93e6b98cd5bbe3e6cb9e6e3fedff61.tar
iurt-5de8515ade93e6b98cd5bbe3e6cb9e6e3fedff61.tar.gz
iurt-5de8515ade93e6b98cd5bbe3e6cb9e6e3fedff61.tar.bz2
iurt-5de8515ade93e6b98cd5bbe3e6cb9e6e3fedff61.tar.xz
iurt-5de8515ade93e6b98cd5bbe3e6cb9e6e3fedff61.zip
Reindent after previous patch added top level loops
Diffstat (limited to 'emi')
-rwxr-xr-xemi4
1 files changed, 3 insertions, 1 deletions
diff --git a/emi b/emi
index fc7d9cc..0298611 100755
--- a/emi
+++ b/emi
@@ -126,10 +126,12 @@ my %excluded;
sub done_func {
my ($_todo, $f, $m, $s, $r) = @_;
+ my $media = "$m/$s";
+
if ($r =~ /(\d{14}\.\w+\.\w+\.\d+)_(.*\.([^.]+)\.rpm)$/) {
my ($prefix, $rpm, $arch) = ($1, $2, $3);
$arch = $config->{arch_translation}{$arch} if $config->{arch_translation}{$arch};
- plog('DEBUG', "found rpm $rpm ($prefix)");
+ plog('DEBUG', "found rpm $rpm ($prefix) for media $media");
$pkg_tree{$prefix}{path} = "/$f/$m/$s";
$pkg_tree{$prefix}{arch}{$arch} = 1;
$pkg_tree{$prefix}{target} = $f;