aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-11-30 13:13:33 +0000
committerThierry Vignaud <tv@mandriva.org>2006-11-30 13:13:33 +0000
commitd189d143b7d625520257780dea8cf994a8b45691 (patch)
tree0c392add0c1491a7dc3e82681029765da1dbb5eb
parentc0be2bd7e55ddd00dade7d29e32bf819d2838763 (diff)
downloadrpmdrake-d189d143b7d625520257780dea8cf994a8b45691.tar
rpmdrake-d189d143b7d625520257780dea8cf994a8b45691.tar.gz
rpmdrake-d189d143b7d625520257780dea8cf994a8b45691.tar.bz2
rpmdrake-d189d143b7d625520257780dea8cf994a8b45691.tar.xz
rpmdrake-d189d143b7d625520257780dea8cf994a8b45691.zip
(toggle_nodes) really fix not able to select only one update (#26135)
-rwxr-xr-xrpmdrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake b/rpmdrake
index 0a80e77e..54d9a739 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -945,7 +945,7 @@ or you already installed all of them."));
@nodes = grep { exists $pkgs->{$_} } @nodes
or return;
#- avoid selecting too many packages at once
- return if !$dont_show_selections && (member($default_list_mode, qw(all_updates security bugfix normal)) && @nodes == keys %$pkgs || @nodes > 2000);
+ return if !$dont_show_selections && (!member($default_list_mode, qw(all_updates security bugfix normal)) && @nodes == keys %$pkgs || @nodes > 2000);
my $new_state = !$pkgs->{$nodes[0]}{selected};
my @nodes_with_deps;