diff options
-rwxr-xr-x | rpmdrake | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1039,8 +1039,7 @@ or you already installed all of them.")); #- not upgradable (older than what currently installed) exists $pkgs->{$_} or next; $pkgs->{$_}{pkg} or $new_state = 0; #- can't be removed - $set_state->($_, $new_state ? ($old_state eq 'installed' ? 'to_remove' : 'to_install') : member($old_state, qw(to_remove installed)) ? 'installed' : $pkgs->{$_}{pkg}->flag_upgrade ? 'to_update' : 'uninstalled', $detail_tree_model); - + $set_state->($_, $options->{node_state}($_), $detail_tree_model); $pkgs->{$_}{selected} = $new_state; $pkgs->{$_}{pkg} and $size_selected += $pkgs->{$_}{pkg}->size * ($new_state ? 1 : -1); |