summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-12-15 16:27:09 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-12-15 16:27:09 +0000
commit7e6b66430f9f9bb8d97f163ac5f396246c2ac41d (patch)
tree7898115e36de3357f163440655b24aff9b294d15
parenta9c3fed566ae90435a2769b0d30c737c793a8d11 (diff)
downloaddrakx-backup-do-not-use-7e6b66430f9f9bb8d97f163ac5f396246c2ac41d.tar
drakx-backup-do-not-use-7e6b66430f9f9bb8d97f163ac5f396246c2ac41d.tar.gz
drakx-backup-do-not-use-7e6b66430f9f9bb8d97f163ac5f396246c2ac41d.tar.bz2
drakx-backup-do-not-use-7e6b66430f9f9bb8d97f163ac5f396246c2ac41d.tar.xz
drakx-backup-do-not-use-7e6b66430f9f9bb8d97f163ac5f396246c2ac41d.zip
(acceptLicense) in standalone mode, when license is rejected, just reboot
-rw-r--r--perl-install/any.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 34d2dfd34..cac45fa50 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");