aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/pkg.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-13 09:11:57 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-13 09:11:57 +0000
commit43a9f0b1a62e910fecaa7bb710297f4b3a11860f (patch)
tree8dea8e8921502d4b60ef869542a46297cf926bd7 /Rpmdrake/pkg.pm
parentb0750a5c41d051fed7f72b9db360dc57077eccac (diff)
downloadrpmdrake-43a9f0b1a62e910fecaa7bb710297f4b3a11860f.tar
rpmdrake-43a9f0b1a62e910fecaa7bb710297f4b3a11860f.tar.gz
rpmdrake-43a9f0b1a62e910fecaa7bb710297f4b3a11860f.tar.bz2
rpmdrake-43a9f0b1a62e910fecaa7bb710297f4b3a11860f.tar.xz
rpmdrake-43a9f0b1a62e910fecaa7bb710297f4b3a11860f.zip
(perform_removal) display again removed packages (wasn't working since
urpmi-4.9.24) and when actually removing an obsolete or conflicting package (need perl-URPM 1.63), and not before
Diffstat (limited to 'Rpmdrake/pkg.pm')
-rwxr-xr-xRpmdrake/pkg.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 709fafba..ccf98c60 100755
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -743,7 +743,9 @@ sub perform_removal {
sub {
@results = $::options{parallel}
? urpm::parallel::remove($urpm, \@toremove)
- : urpm::install::install($urpm, \@toremove, {}, {});
+ : urpm::install::install($urpm, \@toremove, {}, {},
+ callback_report_uninst => sub { Rpmdrake::gurpm::label($_[0]) },
+ );
open_rpm_db('force_sync');
},
);