aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-10-23 00:20:06 +0000
committerThierry Vignaud <tv@mandriva.org>2007-10-23 00:20:06 +0000
commit104d1e448c04aabf656cf499a2ca60558ce03b05 (patch)
treea293c2f6c70693e0ca449f997ae9fad87718e538
parent56653ad8f8281022d512f2be2070ee367815a264 (diff)
downloadrpmdrake-104d1e448c04aabf656cf499a2ca60558ce03b05.tar
rpmdrake-104d1e448c04aabf656cf499a2ca60558ce03b05.tar.gz
rpmdrake-104d1e448c04aabf656cf499a2ca60558ce03b05.tar.bz2
rpmdrake-104d1e448c04aabf656cf499a2ca60558ce03b05.tar.xz
rpmdrake-104d1e448c04aabf656cf499a2ca60558ce03b05.zip
(add_distrib_update_media) rename "name" as "medium_name"
-rw-r--r--rpmdrake.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index 01fcfea8..13274a2d 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -878,12 +878,12 @@ It will be disabled.",
}
sub add_distrib_update_media {
- my ($urpm, $name, $mirror, %options) = @_;
+ my ($urpm, $medium_name, $mirror, %options) = @_;
my $is_update = $mirror->{type} eq 'updates';
add_medium_and_check(
$urpm,
{ nolock => 1, distrib => 1 },
- $name, $mirror->{url}, probe_with => 'synthesis', %options,
+ $medium_name, $mirror->{url}, probe_with => 'synthesis', %options,
usedistrib => 1,
if_($is_update, only_updates => 1),
);