diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2005-12-15 16:26:59 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2005-12-15 16:26:59 +0000 |
commit | fcd0457fc6dcb2a51c384af73920fefd58946f94 (patch) | |
tree | 3fdd0f0eeed12c1e56f5414abe32e7afc8a309a1 /perl-install | |
parent | 9b77010c4ff36db450f0218a6198ec5fe7dc2179 (diff) | |
download | drakx-fcd0457fc6dcb2a51c384af73920fefd58946f94.tar drakx-fcd0457fc6dcb2a51c384af73920fefd58946f94.tar.gz drakx-fcd0457fc6dcb2a51c384af73920fefd58946f94.tar.bz2 drakx-fcd0457fc6dcb2a51c384af73920fefd58946f94.tar.xz drakx-fcd0457fc6dcb2a51c384af73920fefd58946f94.zip |
(acceptLicense) in standalone mode, when license is rejected, just reboot
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/any.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm index 596c16516..05424c9a5 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -734,6 +734,8 @@ sub acceptLicense { }, [ { list => [ N_("Accept"), N_("Refuse") ], val => \$r, type => 'list', format => sub { translate($_[0]) } } ]) or do { + # when refusing license in finish-install: + exec("/sbin/reboot") if !$::isInstall; if ($::globetrotter) { run_program::run('killall', 'Xorg'); exec("/sbin/reboot"); |