aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-04 23:39:24 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-04 23:39:24 +0000
commit7cd4abca0f0ad6a964d1b615a2347dcc856f440b (patch)
tree396127fe9b3964c233696dfe26f57f4bf95ee158
parentf57ea61f4693e7cc919c7d3645d5563c0944f8ef (diff)
downloadrpmdrake-7cd4abca0f0ad6a964d1b615a2347dcc856f440b.tar
rpmdrake-7cd4abca0f0ad6a964d1b615a2347dcc856f440b.tar.gz
rpmdrake-7cd4abca0f0ad6a964d1b615a2347dcc856f440b.tar.bz2
rpmdrake-7cd4abca0f0ad6a964d1b615a2347dcc856f440b.tar.xz
rpmdrake-7cd4abca0f0ad6a964d1b615a2347dcc856f440b.zip
(perform_installation) explain we needs to update priority packages
first then restart
-rw-r--r--Rpmdrake/pkg.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index ec4dbfb9..eab0ecd4 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -618,6 +618,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" : '') .
(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);