diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-02-19 13:32:35 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-02-19 13:32:35 +0000 |
commit | aa80eadbd8b656ef271d510b23985575c604eaa3 (patch) | |
tree | 039ef7cc29f062dba715f11489e5295a1a9fedd9 /Rpmdrake | |
parent | ffb18cb545118fce95699fefc217999ebb4c2ff7 (diff) | |
download | rpmdrake-aa80eadbd8b656ef271d510b23985575c604eaa3.tar rpmdrake-aa80eadbd8b656ef271d510b23985575c604eaa3.tar.gz rpmdrake-aa80eadbd8b656ef271d510b23985575c604eaa3.tar.bz2 rpmdrake-aa80eadbd8b656ef271d510b23985575c604eaa3.tar.xz rpmdrake-aa80eadbd8b656ef271d510b23985575c604eaa3.zip |
(easy_add_callback) prevent rpmdrake to ask adding sources if already
done through the media manager (#37360)
Diffstat (limited to 'Rpmdrake')
-rw-r--r-- | Rpmdrake/edit_urpm_sources.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Rpmdrake/edit_urpm_sources.pm b/Rpmdrake/edit_urpm_sources.pm index 12e4a3a2..c9de8f40 100644 --- a/Rpmdrake/edit_urpm_sources.pm +++ b/Rpmdrake/edit_urpm_sources.pm @@ -137,6 +137,7 @@ Is it ok to continue?", $distro), ref $mirror or return; my $wait = wait_msg(N("Please wait, adding media...")); add_distrib_update_media($urpm, $mirror); + $offered_to_add_sources->[0] = 1; remove_wait_msg($wait); return 1; } |