diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-10-23 00:20:06 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-10-23 00:20:06 +0000 |
commit | 104d1e448c04aabf656cf499a2ca60558ce03b05 (patch) | |
tree | a293c2f6c70693e0ca449f997ae9fad87718e538 /rpmdrake.pm | |
parent | 56653ad8f8281022d512f2be2070ee367815a264 (diff) | |
download | rpmdrake-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"
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r-- | rpmdrake.pm | 4 |
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), ); |