diff options
author | Francois Pons <fpons@mandriva.com> | 2002-08-13 10:11:23 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2002-08-13 10:11:23 +0000 |
commit | ec332f4e0f7926067004ada12b91d7435698c251 (patch) | |
tree | 758e9c9ed93849f7e49bb53321d75c5c94e2ef3d | |
parent | 8d0bfd83bd9cd974241351e05e6048e64f989226 (diff) | |
download | urpmi-ec332f4e0f7926067004ada12b91d7435698c251.tar urpmi-ec332f4e0f7926067004ada12b91d7435698c251.tar.gz urpmi-ec332f4e0f7926067004ada12b91d7435698c251.tar.bz2 urpmi-ec332f4e0f7926067004ada12b91d7435698c251.tar.xz urpmi-ec332f4e0f7926067004ada12b91d7435698c251.zip |
removed abuse log in /tmp :-(
-rw-r--r-- | urpm.pm | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -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). |