summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--urpm/main_loop.pm1
2 files changed, 2 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index dfcf8198..9fdeb72f 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 already installed & not installable RPMs
o enable GUIes to display uninstallations
- urpmi.cfg
o really add global option no-suggests
diff --git a/urpm/main_loop.pm b/urpm/main_loop.pm
index 6bd42200..0f074ef3 100644
--- a/urpm/main_loop.pm
+++ b/urpm/main_loop.pm
@@ -274,6 +274,7 @@ if ($nok) {
@error == 1 ?
N("Package %s can not be installed", join(', ', @error)) :
N("Packages %s can not be installed", join(', ', @error));
+ $callbacks->{already_installed_or_not_installable} and $callbacks->{already_installed_or_not_installable}->(\@msg1, \@msg2);
print join("\n", @msg1, @msg2, '');
}
}