diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-08-19 05:50:18 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-08-19 05:50:18 +0000 |
commit | 39d045a383ab5c952041f461eb2775affe106de7 (patch) | |
tree | 22247250efd4d61532d0eb14f388e99c7902f949 | |
parent | 35924b14f6b82d073b03be839e0ab1158e51a82d (diff) | |
download | rpmdrake-39d045a383ab5c952041f461eb2775affe106de7.tar rpmdrake-39d045a383ab5c952041f461eb2775affe106de7.tar.gz rpmdrake-39d045a383ab5c952041f461eb2775affe106de7.tar.bz2 rpmdrake-39d045a383ab5c952041f461eb2775affe106de7.tar.xz rpmdrake-39d045a383ab5c952041f461eb2775affe106de7.zip |
Allow selecting all packages when don't showing selections
-rwxr-xr-x | rpmdrake | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -518,8 +518,8 @@ or you already installed all of them.")); my ($set_state, @nodes) = @_; @nodes = grep { exists $pkgs->{$_} } @nodes or return; - return if @nodes == keys %$pkgs; #- avoid selecting every package - return if !$dont_show_selections && @nodes > 2000; #- avoid selecting too many packages at once + #- avoid selecting too many packages at once + return if !$dont_show_selections && (@nodes == keys %$pkgs || @nodes > 2000); my $new_state = !$pkgs->{$nodes[0]}{selected}; my @nodes_with_deps; |