summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-01-13 13:20:40 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-01-13 13:20:40 +0000
commit65c4fb1eb9baa4f294cbdaeed1950d2274f0ca3c (patch)
treeb9f8fbe206611948a129452134fb863f44831c54 /perl-install
parent218d541ffecc405491bd286e5801167419764ab0 (diff)
downloaddrakx-backup-do-not-use-65c4fb1eb9baa4f294cbdaeed1950d2274f0ca3c.tar
drakx-backup-do-not-use-65c4fb1eb9baa4f294cbdaeed1950d2274f0ca3c.tar.gz
drakx-backup-do-not-use-65c4fb1eb9baa4f294cbdaeed1950d2274f0ca3c.tar.bz2
drakx-backup-do-not-use-65c4fb1eb9baa4f294cbdaeed1950d2274f0ca3c.tar.xz
drakx-backup-do-not-use-65c4fb1eb9baa4f294cbdaeed1950d2274f0ca3c.zip
better rely on the end field being set rather than on the last step to
be named "end" (thus allowing to have several different last steps)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/wizards.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/wizards.pm b/perl-install/wizards.pm
index 15f3beb31..dde2453db 100644
--- a/perl-install/wizards.pm
+++ b/perl-install/wizards.pm
@@ -162,7 +162,7 @@ sub process {
push @steps, $next if !$page->{ignore} && $steps[-1] ne $next;
my $current = $next;
$next = defined $page->{post} ? $page->{post}($a) : 0;
- return if $current eq "end";
+ return if $page->{end};
if (!$next) {
if (!defined $o->{pages}{$next}) {
$next = $page->{next};