diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-01-13 13:20:40 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-01-13 13:20:40 +0000 |
commit | 65c4fb1eb9baa4f294cbdaeed1950d2274f0ca3c (patch) | |
tree | b9f8fbe206611948a129452134fb863f44831c54 | |
parent | 218d541ffecc405491bd286e5801167419764ab0 (diff) | |
download | drakx-65c4fb1eb9baa4f294cbdaeed1950d2274f0ca3c.tar drakx-65c4fb1eb9baa4f294cbdaeed1950d2274f0ca3c.tar.gz drakx-65c4fb1eb9baa4f294cbdaeed1950d2274f0ca3c.tar.bz2 drakx-65c4fb1eb9baa4f294cbdaeed1950d2274f0ca3c.tar.xz drakx-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)
-rw-r--r-- | perl-install/wizards.pm | 2 |
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}; |