aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-11-27 13:27:46 +0000
committerThierry Vignaud <tv@mandriva.org>2006-11-27 13:27:46 +0000
commite110cfbe6251bf90e3046ae4a9617ffe10dd2016 (patch)
treefe2831abf319fa9e56ad65de6c319a46507e3236
parent16c08d8a0ba2df1bbea9e1f14fbe865cd4ab99d4 (diff)
downloadrpmdrake-e110cfbe6251bf90e3046ae4a9617ffe10dd2016.tar
rpmdrake-e110cfbe6251bf90e3046ae4a9617ffe10dd2016.tar.gz
rpmdrake-e110cfbe6251bf90e3046ae4a9617ffe10dd2016.tar.bz2
rpmdrake-e110cfbe6251bf90e3046ae4a9617ffe10dd2016.tar.xz
rpmdrake-e110cfbe6251bf90e3046ae4a9617ffe10dd2016.zip
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 2731138c..fb8fca0f 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -944,7 +944,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 && ($MODE ne 'update' && @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;