diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-06-24 08:16:45 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-06-24 08:16:45 +0000 |
commit | f44ec9f5132a495bc5632532abf0892ccdba4ba8 (patch) | |
tree | ef139c2f9749a38e21b8fc59ce6b9046b6ad7d52 /perl-install/install_steps_interactive.pm | |
parent | 429480c9d9b7da57229a9ef37bbde08a9ed4a9c4 (diff) | |
download | drakx-f44ec9f5132a495bc5632532abf0892ccdba4ba8.tar drakx-f44ec9f5132a495bc5632532abf0892ccdba4ba8.tar.gz drakx-f44ec9f5132a495bc5632532abf0892ccdba4ba8.tar.bz2 drakx-f44ec9f5132a495bc5632532abf0892ccdba4ba8.tar.xz drakx-f44ec9f5132a495bc5632532abf0892ccdba4ba8.zip |
(acceptLicense) just reboot when one cancel the globetrotter first time wizard
Diffstat (limited to 'perl-install/install_steps_interactive.pm')
-rw-r--r-- | perl-install/install_steps_interactive.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm index 28ecc1787..d7a3369bd 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; }; |