summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.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.pm
parent1aec68c262a3ba595d7153f15d0419f5b3083394 (diff)
downloaddrakx-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.pm2
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};