From d0689bd004ef41eaa3156b1d15de10ca933962ac Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 26 Jun 2002 12:25:36 +0000 Subject: ensure licence step is asked in any case (ie. even when selectLanguage is automatic) --- perl-install/install_steps_interactive.pm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'perl-install/install_steps_interactive.pm') diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm index bf1c3c466..9788ef93b 100644 --- a/perl-install/install_steps_interactive.pm +++ b/perl-install/install_steps_interactive.pm @@ -103,6 +103,8 @@ varies from language to language).")) if $o->{lang} !~ /^en/ && !lang::load_mo() so the messages will be displayed in english during installation") if $ENV{LANGUAGE} eq 'C'; } +sub acceptLicence { + my ($o) = @_; unless ($o->{useless_thing_accepted}) { $o->set_help('license'); $o->{useless_thing_accepted} = $o->ask_from_list_(_("License agreement"), formatAlaTeX( @@ -185,6 +187,8 @@ For any question on this document, please contact MandrakeSoft S.A. ")), [ __("Accept"), __("Refuse") ], "Refuse") eq "Accept" or $o->exit; } } +} + #------------------------------------------------------------------------------ sub selectKeyboard { my ($o, $clicked) = @_; -- cgit v1.2.1