From db5e5291ebcf6123df43054d597dda888e5956bc Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 10 Mar 2008 14:20:29 +0000 Subject: (perform_installation) display in bold that priority updates require restarting --- NEWS | 1 + Rpmdrake/pkg.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index ee22a94d..f0ac3caf 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,4 @@ +- display in bold that priority updates require restarting - MandrivaUpdate: o faster startup if there're priority updates o only list priority updates if existing diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index 892d0968..6e8bc8e0 100644 --- a/Rpmdrake/pkg.pm +++ b/Rpmdrake/pkg.pm @@ -665,7 +665,7 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-( my ($size, $filesize) = $urpm->selected_size_filesize($state); my $install_count = int(@pkgs); my $to_install = $install_count == 0 ? '' : - ($priority_state ? N("Rpmdrake or one of its priority dependencies needs to be updated first. Rpmdrake will then restart.") . "\n\n" : '') . + ($priority_state ? '' . N("Rpmdrake or one of its priority dependencies needs to be updated first. Rpmdrake will then restart.") . '' . "\n\n" : '') . (P("The following package is going to be installed:", "The following %d packages are going to be installed:", $install_count, $install_count) . "\n\n" . format_list(map { s!.*/!!; $_ } @pkgs)); my $remove_count = scalar(@to_remove); -- cgit v1.2.1