summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-08-27 06:54:58 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-08-27 06:54:58 +0000
commit118c294ad22290f91c9d48c8c75d3daae5eba506 (patch)
treef76583ee6115342fddf13709001b9f5de29cd52e
parent6e14738279961c24a19122e1202f9cbfa0dd64ce (diff)
downloaddrakx-118c294ad22290f91c9d48c8c75d3daae5eba506.tar
drakx-118c294ad22290f91c9d48c8c75d3daae5eba506.tar.gz
drakx-118c294ad22290f91c9d48c8c75d3daae5eba506.tar.bz2
drakx-118c294ad22290f91c9d48c8c75d3daae5eba506.tar.xz
drakx-118c294ad22290f91c9d48c8c75d3daae5eba506.zip
make it looks and behave like a wizard for GUI sanity (previously
cancel on second step resulted in step backward rather than exit...)
-rw-r--r--perl-install/standalone/localedrake3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/standalone/localedrake b/perl-install/standalone/localedrake
index 916e2fa76..f700c8fbc 100644
--- a/perl-install/standalone/localedrake
+++ b/perl-install/standalone/localedrake
@@ -42,8 +42,11 @@ sub select_country() {
}
eval {
+ local $::isWizard = 1;
+ local $::Wizard_no_previous = 1;
language:
select_language() or goto the_end;
+ undef $::Wizard_no_previous;
select_country() or goto language;
};
if ($@) {