summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-08-13 10:11:23 +0000
committerFrancois Pons <fpons@mandriva.com>2002-08-13 10:11:23 +0000
commitec332f4e0f7926067004ada12b91d7435698c251 (patch)
tree758e9c9ed93849f7e49bb53321d75c5c94e2ef3d /urpm.pm
parent8d0bfd83bd9cd974241351e05e6048e64f989226 (diff)
downloadurpmi-ec332f4e0f7926067004ada12b91d7435698c251.tar
urpmi-ec332f4e0f7926067004ada12b91d7435698c251.tar.gz
urpmi-ec332f4e0f7926067004ada12b91d7435698c251.tar.bz2
urpmi-ec332f4e0f7926067004ada12b91d7435698c251.tar.xz
urpmi-ec332f4e0f7926067004ada12b91d7435698c251.zip
removed abuse log in /tmp :-(
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).