aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/edit_urpm_sources.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-02-19 13:32:35 +0000
committerThierry Vignaud <tv@mandriva.org>2008-02-19 13:32:35 +0000
commitaa80eadbd8b656ef271d510b23985575c604eaa3 (patch)
tree039ef7cc29f062dba715f11489e5295a1a9fedd9 /Rpmdrake/edit_urpm_sources.pm
parentffb18cb545118fce95699fefc217999ebb4c2ff7 (diff)
downloadrpmdrake-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/edit_urpm_sources.pm')
-rw-r--r--Rpmdrake/edit_urpm_sources.pm1
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;
}