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 --- NEWS | 1 + Rpmdrake/init.pm | 14 -------------- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/NEWS b/NEWS index bd805dc0..34e37417 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,4 @@ +- do not ask sources on startup - gurpmi.addmedia: o handle --urpmi-root - rpmdrake: 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