aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-09-05 11:15:21 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-09-05 11:15:21 +0000
commit6c87e2f761f5a60d5403ae044aef29e631eaba33 (patch)
tree5a669b5905a1512b5be54f88aefafeaa3ab7f21e
parentd7e4d767d63e639b05803ece1c2e2316ed8f2b03 (diff)
downloadrpmdrake-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-xrpmdrake5
-rw-r--r--rpmdrake.spec1
2 files changed, 3 insertions, 3 deletions
diff --git a/rpmdrake b/rpmdrake
index 49bfa2be..bba57d5a 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -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