From 4bb042efd8ca9b9cf5f40e66187d9708877a79a5 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 15 Oct 2003 14:23:53 +0000 Subject: drop field {next} in {steps} since it is duplicated in orderedSteps => it allows simpler modification of orderedSteps (as already done in upgrade) for mandrake move --- perl-install/install_steps_auto_install.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/install_steps_auto_install.pm') diff --git a/perl-install/install_steps_auto_install.pm b/perl-install/install_steps_auto_install.pm index e83b34267..2c89ffbad 100644 --- a/perl-install/install_steps_auto_install.pm +++ b/perl-install/install_steps_auto_install.pm @@ -25,7 +25,7 @@ sub new { @ISA = ($interactiveClass, @ISA); - for (my $f = $o->{steps}{first}; $f; $f = $o->{steps}{$f}{next}) { + foreach my $f (@{$o->{orderedSteps}}) { my $auto_name = member($f, @{$o->{interactiveSteps}}) ? 'noauto' : 'auto'; $o->{steps}{$f}{$auto_name} = 1; } -- cgit v1.2.1