From 5f76105e0558ce0e338ed6c353383ba1e6135587 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 26 Feb 2013 18:14:13 +0000 Subject: do not offer to pick only update media unless using --expert (mga#2317) --- Rpmdrake/edit_urpm_sources.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Rpmdrake') 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 -- cgit v1.2.1