summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--urpm/orphans.pm13
2 files changed, 15 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 8c693444..bf655665 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- add infrastructure for rpmdrake (#920)
+
Version 6.40 - 07 May 2010
- compress sources with xz instead of bzip2
diff --git a/urpm/orphans.pm b/urpm/orphans.pm
index 6109b967..2682f1aa 100644
--- a/urpm/orphans.pm
+++ b/urpm/orphans.pm
@@ -441,6 +441,19 @@ sub _get_now_orphans_raw_msg {
(scalar(@orphans), add_leading_spaces(join("\n", sort @orphans)));
}
+sub get_now_orphans_gui_msg {
+ my ($urpm) = @_;
+
+ my ($count, $list) = _get_now_orphans_raw_msg($urpm);
+ join("\n",
+ P("The following package:\n%s\nis now orphaned.",
+ "The following packages:\n%s\nare now orphaned.", $count, $list),
+ undef,
+ P("You may wish to remove it.",
+ "You may wish to remove them.", $count)
+ );
+}
+
sub get_now_orphans_msg {
my ($urpm) = @_;