diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-03-03 22:45:51 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-03-03 22:45:51 +0000 |
commit | 5b74a158f4aa2936125104e1c887d6bbebef93ff (patch) | |
tree | e3d2571305be5ba40ad411372414966882e86439 /urpm/media.pm | |
parent | f9bc68f05097e6a4cb9c81dc53c3f46e215f1684 (diff) | |
download | urpmi-5b74a158f4aa2936125104e1c887d6bbebef93ff.tar urpmi-5b74a158f4aa2936125104e1c887d6bbebef93ff.tar.gz urpmi-5b74a158f4aa2936125104e1c887d6bbebef93ff.tar.bz2 urpmi-5b74a158f4aa2936125104e1c887d6bbebef93ff.tar.xz urpmi-5b74a158f4aa2936125104e1c887d6bbebef93ff.zip |
simplify
Diffstat (limited to 'urpm/media.pm')
-rw-r--r-- | urpm/media.pm | 2 |
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"; } } |