aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-03-21 22:52:34 +0000
committerThierry Vignaud <tv@mageia.org>2013-03-21 22:52:34 +0000
commit979ece60205901f7d80029b7b5942dc0b0cd1dc8 (patch)
treef7a87e06bf8a8be935020cafe9d57ce378b5126b
parent9eb2e698e43a7f3842f221a90f28c02c7dd0bd33 (diff)
downloadrpmdrake-979ece60205901f7d80029b7b5942dc0b0cd1dc8.tar
rpmdrake-979ece60205901f7d80029b7b5942dc0b0cd1dc8.tar.gz
rpmdrake-979ece60205901f7d80029b7b5942dc0b0cd1dc8.tar.bz2
rpmdrake-979ece60205901f7d80029b7b5942dc0b0cd1dc8.tar.xz
rpmdrake-979ece60205901f7d80029b7b5942dc0b0cd1dc8.zip
fix erase progress in global bar
-rw-r--r--NEWS1
-rw-r--r--Rpmdrake/pkg.pm1
2 files changed, 2 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 5bc24530..4aac5f77 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,5 @@
- adapt to gurpmi enabling to cancel again downloads
+- fix erase progress in global bar
Version 5.43 - 21 Mar 2013, Thierry Vignaud
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index a421a7db..82d6c12f 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -931,6 +931,7 @@ sub perform_removal {
$gurpm->init_progressbar;
my $_gurpm_clean_guard = before_leaving { undef $gurpm };
+ $urpm->{nb_install} = @toremove;
my $may_be_orphans = 1;
urpm::orphans::unrequested_orphans_after_remove($urpm, \@toremove)
or $may_be_orphans = 0;