diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-11-24 17:35:49 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-11-24 17:35:49 +0000 |
commit | f0500dfb330e21b626681f476eb474e498812edc (patch) | |
tree | 25e5d2229aa1b8f4b63c6f1b9f5fa0e34c899db6 /Rpmdrake/edit_urpm_sources.pm | |
parent | fe249d67020389f6a6190ffd1acdfa932c1140dc (diff) | |
download | rpmdrake-f0500dfb330e21b626681f476eb474e498812edc.tar rpmdrake-f0500dfb330e21b626681f476eb474e498812edc.tar.gz rpmdrake-f0500dfb330e21b626681f476eb474e498812edc.tar.bz2 rpmdrake-f0500dfb330e21b626681f476eb474e498812edc.tar.xz rpmdrake-f0500dfb330e21b626681f476eb474e498812edc.zip |
use new proper API now that we try not to drop 'ignore' flag when updating a medium (#44930)
Diffstat (limited to 'Rpmdrake/edit_urpm_sources.pm')
-rw-r--r-- | Rpmdrake/edit_urpm_sources.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/edit_urpm_sources.pm b/Rpmdrake/edit_urpm_sources.pm index 05b6e0b6..b19afacc 100644 --- a/Rpmdrake/edit_urpm_sources.pm +++ b/Rpmdrake/edit_urpm_sources.pm @@ -531,7 +531,7 @@ sub edit_callback() { }); urpm::media::write_config($urpm); local $::main_window = $old_main_window; - update_sources_noninteractive($urpm, [ media => $name ], transient => $::main_window, nolock => 1); + update_sources_noninteractive($urpm, [ $name ], transient => $::main_window, nolock => 1); } else { urpm::media::remove_selected_media($urpm); add_medium_and_check($urpm, { nolock => 1, proxy => $saved_proxy }, $name, $url, undef, update => $update, if_($downloader, downloader => $downloader)); |