summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-05-23 18:26:52 +0000
committerThierry Vignaud <tv@mageia.org>2012-05-23 18:26:52 +0000
commitcc57740d5578e5b5b5755c33494ed2c2f0b21222 (patch)
treedb99c00db46e5f61296623714ec9070a1f48f544 /perl-install
parente6baeceb3c71aa6015a40a684cfd37e49cf1c5b6 (diff)
downloaddrakx-cc57740d5578e5b5b5755c33494ed2c2f0b21222.tar
drakx-cc57740d5578e5b5b5755c33494ed2c2f0b21222.tar.gz
drakx-cc57740d5578e5b5b5755c33494ed2c2f0b21222.tar.bz2
drakx-cc57740d5578e5b5b5755c33494ed2c2f0b21222.tar.xz
drakx-cc57740d5578e5b5b5755c33494ed2c2f0b21222.zip
(real_main) split it out of main()
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install/install2.pm6
1 files changed, 5 insertions, 1 deletions
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() {