aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--Rpmdrake/init.pm14
2 files changed, 1 insertions, 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;