aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/pkg.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Rpmdrake/pkg.pm')
-rw-r--r--Rpmdrake/pkg.pm11
1 files changed, 0 insertions, 11 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 472e55c7..a2742b21 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -935,17 +935,6 @@ sub perform_removal {
urpm::orphans::unrequested_orphans_after_remove($urpm, \@toremove)
or $may_be_orphans = 0;
- my $progress = -1;
- local $urpm->{log} = sub {
- my $str = $_[0];
- print $str;
- $progress++;
- return if $progress <= 0; # skip first "creating transaction..." message
- $gurpm->label($str); # display "removing package %s"
- $gurpm->progress(min(0.99, scalar($progress/@toremove)));
- gtkflush();
- };
-
my @results;
slow_func_statusbar(
N("Please wait, removing packages..."),