diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-10-15 14:23:53 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-10-15 14:23:53 +0000 |
commit | 4bb042efd8ca9b9cf5f40e66187d9708877a79a5 (patch) | |
tree | d31249d416edb76dfe71cef533f062d63a2b8290 /perl-install/install_steps_auto_install.pm | |
parent | 1aec68c262a3ba595d7153f15d0419f5b3083394 (diff) | |
download | drakx-4bb042efd8ca9b9cf5f40e66187d9708877a79a5.tar drakx-4bb042efd8ca9b9cf5f40e66187d9708877a79a5.tar.gz drakx-4bb042efd8ca9b9cf5f40e66187d9708877a79a5.tar.bz2 drakx-4bb042efd8ca9b9cf5f40e66187d9708877a79a5.tar.xz drakx-4bb042efd8ca9b9cf5f40e66187d9708877a79a5.zip |
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
Diffstat (limited to 'perl-install/install_steps_auto_install.pm')
-rw-r--r-- | perl-install/install_steps_auto_install.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |