From 65c4fb1eb9baa4f294cbdaeed1950d2274f0ca3c Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 13 Jan 2004 13:20:40 +0000 Subject: 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) --- perl-install/wizards.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}; -- cgit v1.2.1