summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_auto_install.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-10-15 14:23:53 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-10-15 14:23:53 +0000
commit4bb042efd8ca9b9cf5f40e66187d9708877a79a5 (patch)
treed31249d416edb76dfe71cef533f062d63a2b8290 /perl-install/install_steps_auto_install.pm
parent1aec68c262a3ba595d7153f15d0419f5b3083394 (diff)
downloaddrakx-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.pm2
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;
}