summaryrefslogtreecommitdiffstats
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
commit84e5cbef6b3d2f6d6114630063ad644f42adc76e (patch)
treedb99c00db46e5f61296623714ec9070a1f48f544
parent32dbcfe1e74881f8b8802228dfff52995fc55153 (diff)
downloaddrakx-backup-do-not-use-84e5cbef6b3d2f6d6114630063ad644f42adc76e.tar
drakx-backup-do-not-use-84e5cbef6b3d2f6d6114630063ad644f42adc76e.tar.gz
drakx-backup-do-not-use-84e5cbef6b3d2f6d6114630063ad644f42adc76e.tar.bz2
drakx-backup-do-not-use-84e5cbef6b3d2f6d6114630063ad644f42adc76e.tar.xz
drakx-backup-do-not-use-84e5cbef6b3d2f6d6114630063ad644f42adc76e.zip
(real_main) split it out of main()
-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() {