diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-03-10 14:20:29 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-03-10 14:20:29 +0000 |
commit | db5e5291ebcf6123df43054d597dda888e5956bc (patch) | |
tree | 99a0f9738296e7fa1680cb4088f8260035e6249c | |
parent | c6c63c5079f78d4d6e7c9bb09b51dfd1fc6cab6d (diff) | |
download | rpmdrake-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-- | NEWS | 1 | ||||
-rw-r--r-- | Rpmdrake/pkg.pm | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -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); |