From d4d935c2c1778a26f7388ecf5f1212171af507d3 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 6 Oct 2008 18:26:41 +0000 Subject: (init) do not ask sources on startup --- Rpmdrake/init.pm | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'Rpmdrake/init.pm') diff --git a/Rpmdrake/init.pm b/Rpmdrake/init.pm index 9d1bfc05..da5db001 100644 --- a/Rpmdrake/init.pm +++ b/Rpmdrake/init.pm @@ -160,20 +160,6 @@ but you may still browse the existing database."), yesno => 1, text => { no => N sub init() { URPM::bind_rpm_textdomain_codeset(); - if (!$> && !$offered_to_add_sources->[0]) { - if (interactive_msg(N("Welcome"), - join("\n\n", - N("The software installation tool can set up media sources."), - N("Do you want to add media sources now?"), - ), - yesno => 1, - ) - ) { - require Rpmdrake::edit_urpm_sources; - Rpmdrake::edit_urpm_sources::easy_add_callback(); - } - $offered_to_add_sources->[0] = 1; - } } 1; -- cgit v1.2.1