diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-08-13 09:11:57 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-08-13 09:11:57 +0000 |
commit | 43a9f0b1a62e910fecaa7bb710297f4b3a11860f (patch) | |
tree | 8dea8e8921502d4b60ef869542a46297cf926bd7 | |
parent | b0750a5c41d051fed7f72b9db360dc57077eccac (diff) | |
download | rpmdrake-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
-rwxr-xr-x | Rpmdrake/pkg.pm | 4 |
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'); }, ); |