aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-02-26 18:14:13 +0000
committerThierry Vignaud <tv@mageia.org>2013-02-26 18:14:13 +0000
commit5f76105e0558ce0e338ed6c353383ba1e6135587 (patch)
treee76e02114efd80f29ccde84f30ae2017a7db0312
parente0888f0c17c7f4ae31dcf80880466158039f6c47 (diff)
downloadrpmdrake-5f76105e0558ce0e338ed6c353383ba1e6135587.tar
rpmdrake-5f76105e0558ce0e338ed6c353383ba1e6135587.tar.gz
rpmdrake-5f76105e0558ce0e338ed6c353383ba1e6135587.tar.bz2
rpmdrake-5f76105e0558ce0e338ed6c353383ba1e6135587.tar.xz
rpmdrake-5f76105e0558ce0e338ed6c353383ba1e6135587.zip
do not offer to pick only update media unless using --expert (mga#2317)
-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