aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
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 /Rpmdrake
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)
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/edit_urpm_sources.pm2
1 files changed, 1 insertions, 1 deletions
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