summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-06-24 08:16:57 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-06-24 08:16:57 +0000
commit7502ace3b7e1672027b0d5beffac29d5ae8fe551 (patch)
treea43b879845a6b67479f92d828e6fc3ae7360bbfa
parentc259dd1300a877fccf02a7bdcc4c94d7ce6f61ef (diff)
downloaddrakx-7502ace3b7e1672027b0d5beffac29d5ae8fe551.tar
drakx-7502ace3b7e1672027b0d5beffac29d5ae8fe551.tar.gz
drakx-7502ace3b7e1672027b0d5beffac29d5ae8fe551.tar.bz2
drakx-7502ace3b7e1672027b0d5beffac29d5ae8fe551.tar.xz
drakx-7502ace3b7e1672027b0d5beffac29d5ae8fe551.zip
(acceptLicense) just reboot when one cancel the globetrotter first time wizard
-rw-r--r--perl-install/install_steps_interactive.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index f7d742be9..99256a617 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -87,6 +87,10 @@ sub acceptLicense {
},
[ { list => [ N_("Accept"), N_("Refuse") ], val => \$r, type => 'list', format => sub { translate($_[0]) } } ]))
or do {
+ if ($::globetrotter) {
+ system("killall XFree86");
+ exec("/sbin/reboot");
+ };
install_any::ejectCdrom();
$o->exit;
};