summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm5
1 files changed, 0 insertions, 5 deletions
diff --git a/urpm.pm b/urpm.pm
index 8f882ba4..0f248e07 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -1838,9 +1838,6 @@ sub install_logger {
my $pkg = defined $id && $urpm->{depslist}[$id];
my $progress_size = 50;
- open FF, ">>/tmp/rpm_install";
- print FF join(':', ($pkg && $pkg->name), $type, $subtype, $amount, $total) . "\n";
-
if ($subtype eq 'start') {
$urpm->{logger_progress} = 0;
if ($type eq 'trans') {
@@ -1857,13 +1854,11 @@ sub install_logger {
} elsif ($subtype eq 'progress') {
my $new_progress = $total > 0 ? int($progress_size * $amount / $total) : $progress_size;
if ($new_progress > $urpm->{logger_progress}) {
- print FF "logging " . ($new_progress - $urpm->{logger_progress}) . "#\n";
print '#' x ($new_progress - $urpm->{logger_progress});
$urpm->{logger_progress} = $new_progress;
$urpm->{logger_progress} == $progress_size and print "\n";
}
}
- close FF;
}
#- install packages according to each hashes (install or upgrade).