summaryrefslogtreecommitdiffstats
path: root/urpm/media.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/media.pm')
-rw-r--r--urpm/media.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/media.pm b/urpm/media.pm
index b0bbeb89..79cda2d8 100644
--- a/urpm/media.pm
+++ b/urpm/media.pm
@@ -1052,7 +1052,7 @@ sub _generate_medium_names {
my $pkg = $urpm->{depslist}[$_] or
$urpm->{error}(N("Error generating names file: dependency %d not found", $_)), return;
- print $fh $urpm->{depslist}[$_]->name . "\n";
+ print $fh $pkg->name . "\n";
}
}