diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-03-05 11:48:51 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-03-05 11:48:51 +0000 |
commit | bf62a8c4b593af66f91912ee008325f10124206e (patch) | |
tree | a30b2088e062d49ffd53a700dd92dbeae7f41160 /Rpmdrake/pkg.pm | |
parent | 2a2f7e058e663e7a8b0e43ec211b9124c78ca176 (diff) | |
download | rpmdrake-bf62a8c4b593af66f91912ee008325f10124206e.tar rpmdrake-bf62a8c4b593af66f91912ee008325f10124206e.tar.gz rpmdrake-bf62a8c4b593af66f91912ee008325f10124206e.tar.bz2 rpmdrake-bf62a8c4b593af66f91912ee008325f10124206e.tar.xz rpmdrake-bf62a8c4b593af66f91912ee008325f10124206e.zip |
fix a crash on some boxes (better long-term fix will be moving some functions)
Diffstat (limited to 'Rpmdrake/pkg.pm')
-rwxr-xr-x | Rpmdrake/pkg.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index 6808bc49..30317017 100755 --- a/Rpmdrake/pkg.pm +++ b/Rpmdrake/pkg.pm @@ -371,7 +371,7 @@ Then, restart %s.", $rpmdrake::myname_update)), myexit(-1); end => $#{$urpm->{depslist}}, ); my @requested = $probe_only_for_updates ? - sort map { urpm_name($_) } $urpm->resolve_requested($db, $state, $requested, callback_choices => \&callback_choices) + sort map { urpm_name($_) } $urpm->resolve_requested($db, $state, $requested, callback_choices => \&Rpmdrake::gui::callback_choices) : sort map { urpm_name($_) } @{$urpm->{depslist}}[keys %$requested]; if (!$probe_only_for_updates) { |