From cc57740d5578e5b5b5755c33494ed2c2f0b21222 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 23 May 2012 18:26:52 +0000 Subject: (real_main) split it out of main() --- perl-install/install/install2.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/install/install2.pm b/perl-install/install/install2.pm index c716b2e8a..b2a8ec42d 100644 --- a/perl-install/install/install2.pm +++ b/perl-install/install/install2.pm @@ -638,6 +638,11 @@ sub main { eval { output('/proc/splash', "verbose\n") }; + real_main(); + finish_install(); +} + +sub real_main() { #-the main cycle MAIN: for ($o->{step} = $o->{steps}{first};; $o->{step} = getNextStep($o)) { $o->{steps}{$o->{step}}{entered}++; @@ -665,7 +670,6 @@ sub main { last if $o->{step} eq 'exitInstall'; } - finish_install(); } sub finish_install() { -- cgit v1.2.1