aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/init.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-10-06 18:26:41 +0000
committerThierry Vignaud <tv@mandriva.org>2008-10-06 18:26:41 +0000
commitd4d935c2c1778a26f7388ecf5f1212171af507d3 (patch)
tree4da0bdf7266714df4f7bfeff8481c89d57735b6b /Rpmdrake/init.pm
parenta1edbde9cdefebbf83d76ad4f69cf5ca6968af80 (diff)
downloadrpmdrake-d4d935c2c1778a26f7388ecf5f1212171af507d3.tar
rpmdrake-d4d935c2c1778a26f7388ecf5f1212171af507d3.tar.gz
rpmdrake-d4d935c2c1778a26f7388ecf5f1212171af507d3.tar.bz2
rpmdrake-d4d935c2c1778a26f7388ecf5f1212171af507d3.tar.xz
rpmdrake-d4d935c2c1778a26f7388ecf5f1212171af507d3.zip
(init) do not ask sources on startup
Diffstat (limited to 'Rpmdrake/init.pm')
-rw-r--r--Rpmdrake/init.pm14
1 files changed, 0 insertions, 14 deletions
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;