diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-03-10 12:48:38 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-03-10 12:48:38 +0000 |
commit | f1dfc6cf5a142988a94425c4fa8580203e4ac0f7 (patch) | |
tree | 687fedd6db3a2369c5bd9306df0a8e22d85acfd3 | |
parent | c459dd98b91f6b44187ce4a06926a9756bae5188 (diff) | |
download | mgaonline-f1dfc6cf5a142988a94425c4fa8580203e4ac0f7.tar mgaonline-f1dfc6cf5a142988a94425c4fa8580203e4ac0f7.tar.gz mgaonline-f1dfc6cf5a142988a94425c4fa8580203e4ac0f7.tar.bz2 mgaonline-f1dfc6cf5a142988a94425c4fa8580203e4ac0f7.tar.xz mgaonline-f1dfc6cf5a142988a94425c4fa8580203e4ac0f7.zip |
(silentCheck) adapt to urpmi-5.9 (#38724)
-rw-r--r-- | NEWS | 3 | ||||
-rwxr-xr-x | mdkapplet | 5 |
2 files changed, 4 insertions, 4 deletions
@@ -1,3 +1,6 @@ +- mdkapplet: + o adapt to urpmi-5.9 (#38724) + Version 2.32 - 5 March 2008, Thierry Vignaud - mdkapplet: @@ -366,16 +366,13 @@ sub silentCheck() { if (my $db = urpm::db_open_or_die($urpm)) { my $requested = {}; my $state = {}; - my @requested_strict; my $need_restart = urpm::select::resolve_dependencies( $urpm, $state, $requested, callback_choices => sub { 0 }, priority_upgrade => $urpm->{options}{'priority-upgrade'}, auto_select => 1, - resolve_req_callback => sub { - @requested_strict = sort map { scalar $_->fullname } @_; - }, ); + my @requested_strict = map { scalar $_->fullname } @{$urpm->{depslist}}[keys %{$state->{selected}}]; if ($need_restart || @requested_strict) { # FIXME: log first found pkgs? $exit->('updates'); |