summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install/pkgs.pm9
1 files changed, 2 insertions, 7 deletions
diff --git a/perl-install/install/pkgs.pm b/perl-install/install/pkgs.pm
index 26ba7ba7b..edf34dd84 100644
--- a/perl-install/install/pkgs.pm
+++ b/perl-install/install/pkgs.pm
@@ -730,13 +730,8 @@ sub _install_raw {
log::l("rpm transactions start");
my $exit_code = urpm::main_loop::run($packages, $packages->{state}, undef, undef, undef, {
- open_helper => sub {
- my ($packages, $_type, $id) = @_;
- &$callback;
- my $pkg = defined $id && $packages->{depslist}[$id];
- my $medium = packageMedium($packages, $pkg);
- print $LOG "$f\n";
- }, close_helper => sub {
+ open_helper => $callback,
+ close_helper => sub {
my ($packages, $_type, $id) = @_;
&$callback;
my $pkg = defined $id && $packages->{depslist}[$id] or return;