From aa80eadbd8b656ef271d510b23985575c604eaa3 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 19 Feb 2008 13:32:35 +0000 Subject: (easy_add_callback) prevent rpmdrake to ask adding sources if already done through the media manager (#37360) --- Rpmdrake/edit_urpm_sources.pm | 1 + 1 file changed, 1 insertion(+) 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; } -- cgit v1.2.1