aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--Rpmdrake/pkg.pm4
2 files changed, 4 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index f7c94fe6..5bc24530 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- adapt to gurpmi enabling to cancel again downloads
+
Version 5.43 - 21 Mar 2013, Thierry Vignaud
- fix download progress with global progress bar (mga#9469)
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index a2742b21..a421a7db 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -824,8 +824,8 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-(
);
},
post_download => sub {
- $canceled and goto return_with_exit_code;
- #$gurpm->invalidate_cancel_forever; # FIXME: cancel
+ $gurpm->canceled and goto return_with_exit_code;
+ $gurpm->invalidate_cancel_forever;
},
need_restart => sub {
my ($need_restart_formatted) = @_;