diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-09-05 11:15:21 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-09-05 11:15:21 +0000 |
commit | 6c87e2f761f5a60d5403ae044aef29e631eaba33 (patch) | |
tree | 5a669b5905a1512b5be54f88aefafeaa3ab7f21e | |
parent | d7e4d767d63e639b05803ece1c2e2316ed8f2b03 (diff) | |
download | rpmdrake-6c87e2f761f5a60d5403ae044aef29e631eaba33.tar rpmdrake-6c87e2f761f5a60d5403ae044aef29e631eaba33.tar.gz rpmdrake-6c87e2f761f5a60d5403ae044aef29e631eaba33.tar.bz2 rpmdrake-6c87e2f761f5a60d5403ae044aef29e631eaba33.tar.xz rpmdrake-6c87e2f761f5a60d5403ae044aef29e631eaba33.zip |
fix "Reset the selection" that didn't really reset it for urpmi :/
-rwxr-xr-x | rpmdrake | 5 | ||||
-rw-r--r-- | rpmdrake.spec | 1 |
2 files changed, 3 insertions, 3 deletions
@@ -758,9 +758,8 @@ or you already installed all of them.")); my %action2fun; %action2fun = ( reset_selection => sub { if ($MODE ne 'remove') { - $urpm->{state} = {}; - $urpm->resolve_unrequested(db(), $urpm->{state}, - { map { if_($pkgs->{$_}{selected}, $pkgs->{$_}{pkg}->id => undef) } keys %$pkgs }); + $urpm->disable_selected(db(), $urpm->{state}, + map { if_($pkgs->{$_}{selected}, $pkgs->{$_}{pkg}) } keys %$pkgs); } $pkgs->{$_}{selected} = 0 foreach keys %$pkgs; $size_selected = 0; diff --git a/rpmdrake.spec b/rpmdrake.spec index a0f368ab..459baad9 100644 --- a/rpmdrake.spec +++ b/rpmdrake.spec @@ -105,6 +105,7 @@ rm -rf $RPM_BUILD_ROOT - fix garbled UTF8 in "summary" and "description" of pkgs when i18n'ed - use new urpmi API to verify signatures, so that we don't miss signatures problems when key of package is not in urpmi allowed pool +- fix "Reset the selection" that didn't really reset it for urpmi :/ * Thu Sep 4 2003 Guillaume Cottenceau <gc@mandrakesoft.com> 2.1-35mdk - fix invalid-build-requires libcurl2-devel |