aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--Rpmdrake/edit_urpm_sources.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 2b42ff23..9e2564f5 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- do not offer to pick only update media unless using --expert (mga#2317)
+
Version 5.41.2 - 16 Feb 2013, Funda Wang
- adapt to new group hierarchy
diff --git a/Rpmdrake/edit_urpm_sources.pm b/Rpmdrake/edit_urpm_sources.pm
index b865bbcf..46cab7b5 100644
--- a/Rpmdrake/edit_urpm_sources.pm
+++ b/Rpmdrake/edit_urpm_sources.pm
@@ -110,7 +110,7 @@ sub remove_from_list {
}
sub _want_base_distro() {
- distro_type(0) eq 'updates' ? interactive_msg(
+ $::expert && distro_type(0) eq 'updates' ? interactive_msg(
N("Choose media type"),
N("In order to keep your system secure and stable, you must at a minimum set up
sources for official security and stability updates. You can also choose to set