aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/pkg.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-03-05 11:48:51 +0000
committerThierry Vignaud <tv@mandriva.org>2007-03-05 11:48:51 +0000
commitbf62a8c4b593af66f91912ee008325f10124206e (patch)
treea30b2088e062d49ffd53a700dd92dbeae7f41160 /Rpmdrake/pkg.pm
parent2a2f7e058e663e7a8b0e43ec211b9124c78ca176 (diff)
downloadrpmdrake-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-xRpmdrake/pkg.pm2
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) {