summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--urpm/install.pm1
2 files changed, 2 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 971ceef5..dfcf8198 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,6 @@
- urpmi
o when using --urpmi-root, load <root>/etc/rpm/macros
+ o enable GUIes to display uninstallations
- urpmi.cfg
o really add global option no-suggests
diff --git a/urpm/install.pm b/urpm/install.pm
index b758923c..d6a484bc 100644
--- a/urpm/install.pm
+++ b/urpm/install.pm
@@ -204,6 +204,7 @@ sub install {
if (member($name, @previous)) {
$urpm->{log}("removing upgraded package $fullname");
} else {
+ $options{callback_report_uninst} and $options{callback_report_uninst}->(N("Removing package %s", $fullname));
print N("removing package %s", $fullname), "\n" if $options{verbose} >= 0;
}
$index++;