diff options
author | Thierry Vignaud <tv@mandriva.org> | 2006-11-23 17:40:07 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2006-11-23 17:40:07 +0000 |
commit | 09eb3c3297b374f639c709b69b9653fef9af7d88 (patch) | |
tree | 6efa9f42ac8b2d5a536481f0202b6c077e4caf9a /rpmdrake.pm | |
parent | 2b9d978b983e065244d09595ced6a0981eb1cfa0 (diff) | |
download | rpmdrake-09eb3c3297b374f639c709b69b9653fef9af7d88.tar rpmdrake-09eb3c3297b374f639c709b69b9653fef9af7d88.tar.gz rpmdrake-09eb3c3297b374f639c709b69b9653fef9af7d88.tar.bz2 rpmdrake-09eb3c3297b374f639c709b69b9653fef9af7d88.tar.xz rpmdrake-09eb3c3297b374f639c709b69b9653fef9af7d88.zip |
(add_medium_and_check, check_update_media_version) update to new urpmi API
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r-- | rpmdrake.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm index e0d0bd3f..8d6496c3 100644 --- a/rpmdrake.pm +++ b/rpmdrake.pm @@ -813,10 +813,10 @@ sub add_medium_and_check { } if (update_sources_check($urpm, $options, N_("Unable to add medium, errors reported:\n\n%s"), @newnames)) { - $urpm->write_config; + urpm::media::write_config($urpm); $options->{proxy} and urpm::download::dump_proxy_config(); } else { - $urpm->read_config; + urpm::media::read_config($urpm); return 0; } @@ -851,7 +851,7 @@ It will be disabled.", $_->{name}, $mdk_version) ); $_->{ignore} = 1; - $urpm->write_config if -w $urpm->{config}; + urpm::media::write_config($urpm) if -w $urpm->{config}; return 0; } } |