aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/init.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-04 16:12:52 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-04 16:12:52 +0000
commit65558fbd0a870c25efc26c3a1c3accf4e7f6a9a7 (patch)
tree7177d7f302e95e9438a096a27c2c6d03d447bc71 /Rpmdrake/init.pm
parent52c7d1d2cf6913756b535d9f19f5157817871983 (diff)
downloadrpmdrake-65558fbd0a870c25efc26c3a1c3accf4e7f6a9a7.tar
rpmdrake-65558fbd0a870c25efc26c3a1c3accf4e7f6a9a7.tar.gz
rpmdrake-65558fbd0a870c25efc26c3a1c3accf4e7f6a9a7.tar.bz2
rpmdrake-65558fbd0a870c25efc26c3a1c3accf4e7f6a9a7.tar.xz
rpmdrake-65558fbd0a870c25efc26c3a1c3accf4e7f6a9a7.zip
(check_if_first_run,init) do not display a splash text anymore
Diffstat (limited to 'Rpmdrake/init.pm')
-rw-r--r--Rpmdrake/init.pm25
1 files changed, 0 insertions, 25 deletions
diff --git a/Rpmdrake/init.pm b/Rpmdrake/init.pm
index 7f79851d..4982c7f1 100644
--- a/Rpmdrake/init.pm
+++ b/Rpmdrake/init.pm
@@ -157,31 +157,6 @@ but you may still browse the existing database."), yesno => 1, text => { no => N
sub init() {
URPM::bind_rpm_textdomain_codeset();
push @$already_splashed, $MODE if $rpmdrake_options{'no-splash'};
- if (!$> && !member($MODE, @$already_splashed)) {
- interactive_msg(N("Welcome"),
- N("%s
-
-Is it ok to continue?",
- $MODE eq 'remove' ?
- N("Welcome to the software removal tool!
-
-This tool will help you choose which software you want to remove from
-your computer.")
- : $MODE eq 'update' ?
- N("Welcome to %s!
-
-This tool will help you choose the updates you want to install on your
-computer.", $rpmdrake::myname_update)
- :
- ($rpmdrake::branded ? N("Welcome to the software installation tool!")
- : N("Welcome to the software installation tool!
-
-Your Mandriva Linux system comes with several thousands of software
-packages on CDROM or DVD. This tool will help you choose which software
-you want to install on your computer.")))
- , yesno => 1) or myexit(-1);
- push @$already_splashed, $MODE;
- }
if (!$> && !$offered_to_add_sources->[0]) {
if (interactive_msg(N("Welcome"),
join("\n\n",