aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-10 14:20:29 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-10 14:20:29 +0000
commitdb5e5291ebcf6123df43054d597dda888e5956bc (patch)
tree99a0f9738296e7fa1680cb4088f8260035e6249c
parentc6c63c5079f78d4d6e7c9bb09b51dfd1fc6cab6d (diff)
downloadrpmdrake-db5e5291ebcf6123df43054d597dda888e5956bc.tar
rpmdrake-db5e5291ebcf6123df43054d597dda888e5956bc.tar.gz
rpmdrake-db5e5291ebcf6123df43054d597dda888e5956bc.tar.bz2
rpmdrake-db5e5291ebcf6123df43054d597dda888e5956bc.tar.xz
rpmdrake-db5e5291ebcf6123df43054d597dda888e5956bc.zip
(perform_installation) display in bold that priority updates require restarting
-rw-r--r--NEWS1
-rw-r--r--Rpmdrake/pkg.pm2
2 files changed, 2 insertions, 1 deletions
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 ? '<b>' . N("Rpmdrake or one of its priority dependencies needs to be updated first. Rpmdrake will then restart.") . '</b>' . "\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);