From 7cd4abca0f0ad6a964d1b615a2347dcc856f440b Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 4 Mar 2008 23:39:24 +0000 Subject: (perform_installation) explain we needs to update priority packages first then restart --- Rpmdrake/pkg.pm | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.2.1