diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-10-06 18:26:41 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-10-06 18:26:41 +0000 |
commit | d4d935c2c1778a26f7388ecf5f1212171af507d3 (patch) | |
tree | 4da0bdf7266714df4f7bfeff8481c89d57735b6b | |
parent | a1edbde9cdefebbf83d76ad4f69cf5ca6968af80 (diff) | |
download | rpmdrake-d4d935c2c1778a26f7388ecf5f1212171af507d3.tar rpmdrake-d4d935c2c1778a26f7388ecf5f1212171af507d3.tar.gz rpmdrake-d4d935c2c1778a26f7388ecf5f1212171af507d3.tar.bz2 rpmdrake-d4d935c2c1778a26f7388ecf5f1212171af507d3.tar.xz rpmdrake-d4d935c2c1778a26f7388ecf5f1212171af507d3.zip |
(init) do not ask sources on startup
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | Rpmdrake/init.pm | 14 |
2 files changed, 1 insertions, 14 deletions
@@ -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; |