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_any.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_any.pm')
-rw-r--r-- | perl-install/install_any.pm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index 61a50d50f..d3b9db89b 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -193,9 +193,7 @@ sub clean_postinstall_rpms() { #- Functions #-###################################################################################### sub getNextStep() { - my ($s) = $::o->{steps}{first}; - $s = $::o->{steps}{$s}{next} while $::o->{steps}{$s}{done} || !$::o->{steps}{$s}{reachable}; - $s; + find { !$::o->{steps}{$_}{done} && $::o->{steps}{$_}{reachable} } @{$::o->{orderedSteps}} } sub spawnShell() { |