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.pm | |
parent | 1aec68c262a3ba595d7153f15d0419f5b3083394 (diff) | |
download | drakx-backup-do-not-use-4bb042efd8ca9b9cf5f40e66187d9708877a79a5.tar drakx-backup-do-not-use-4bb042efd8ca9b9cf5f40e66187d9708877a79a5.tar.gz drakx-backup-do-not-use-4bb042efd8ca9b9cf5f40e66187d9708877a79a5.tar.bz2 drakx-backup-do-not-use-4bb042efd8ca9b9cf5f40e66187d9708877a79a5.tar.xz drakx-backup-do-not-use-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.pm')
-rw-r--r-- | perl-install/install_steps.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index 6833b3b83..9a95e2648 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -56,7 +56,7 @@ sub leavingStep { output(install_any::auto_inst_file(), install_any::g_auto_install(1)); } - for (my $s = $o->{steps}{first}; $s; $s = $o->{steps}{$s}{next}) { + foreach my $s (@{$o->{orderedSteps}}) { #- the reachability property must be recomputed each time to take #- into account failed step. next if $o->{steps}{$s}{done} && !$o->{steps}{$s}{redoable}; |