summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-09-14 13:06:22 +0000
committerThierry Vignaud <tv@mandriva.org>2007-09-14 13:06:22 +0000
commitaeab23898610d190187e084759ea5ff6d006d620 (patch)
tree3457164be542605f8b7a99cf6b7515e9553c9b45 /urpm.pm
parent0a267014dfaf585ba8463724114cd5abf024cdad (diff)
downloadurpmi-aeab23898610d190187e084759ea5ff6d006d620.tar
urpmi-aeab23898610d190187e084759ea5ff6d006d620.tar.gz
urpmi-aeab23898610d190187e084759ea5ff6d006d620.tar.bz2
urpmi-aeab23898610d190187e084759ea5ff6d006d620.tar.xz
urpmi-aeab23898610d190187e084759ea5ff6d006d620.zip
(get_updates_description) no need to keep around medium name (was only
used by rpmdrake (added on Aug 14 2007)
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm.pm b/urpm.pm
index f75da88b..d3137211 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -258,7 +258,7 @@ sub get_updates_description {
$cur->{importance} = 'normal';
}
$update_descr{$medium->{name}}{$_} = $cur foreach @{$cur->{pkgs} || []};
- $cur = { pkgs => [ split /\s/, $1 ], medium => $medium->{name} };
+ $cur = { pkgs => [ split /\s/, $1 ] };
$section = 'pkg';
next;
};