diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-08-12 13:21:49 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-08-12 13:21:49 +0000 |
commit | a576b7e4e024766652f16a818d4d627eca416821 (patch) | |
tree | 47c3d019fda34f9af00b534f757ad3d8567f4532 | |
parent | 6d90c0db464dca2763490f2dc03e58c7ac89720a (diff) | |
download | drakx-a576b7e4e024766652f16a818d4d627eca416821.tar drakx-a576b7e4e024766652f16a818d4d627eca416821.tar.gz drakx-a576b7e4e024766652f16a818d4d627eca416821.tar.bz2 drakx-a576b7e4e024766652f16a818d4d627eca416821.tar.xz drakx-a576b7e4e024766652f16a818d4d627eca416821.zip |
perl-URPM callback gives us the virtual name, do display it instead of a mess of things
-rw-r--r-- | perl-install/install/pkgs.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install/pkgs.pm b/perl-install/install/pkgs.pm index 9dc7a1c3c..5322892c5 100644 --- a/perl-install/install/pkgs.pm +++ b/perl-install/install/pkgs.pm @@ -184,12 +184,12 @@ sub packageRequest { } sub packageCallbackChoices { - my ($urpm, $_db, $state, $choices) = @_; + my ($urpm, $_db, $_state, $choices, $virtual_pkg_name) = @_; if (my @l = packageCallbackChoices_($urpm, $choices)) { @l; } else { - log::l("packageCallbackChoices: default choice from ", join(",", map { $_->name } @$choices), " in ", join(",", map { $urpm->{depslist}[$_]->name } keys %{$state->{selected}})); + log::l("packageCallbackChoices: default choice from " . join(",", map { $_->name } @$choices) . " for $virtual_pkg_name"); $choices->[0]; } } |