diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-03-06 11:23:05 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-03-06 11:23:05 +0000 |
commit | 4cd6e4e2bd4f9055616d6b51de95f12f575fe7b1 (patch) | |
tree | 71d35c966a03d358434b41cbfb7b8bc1f915907a | |
parent | 8b43dffc7df05b38db05eff63801be88b89d62d2 (diff) | |
download | rpmdrake-4cd6e4e2bd4f9055616d6b51de95f12f575fe7b1.tar rpmdrake-4cd6e4e2bd4f9055616d6b51de95f12f575fe7b1.tar.gz rpmdrake-4cd6e4e2bd4f9055616d6b51de95f12f575fe7b1.tar.bz2 rpmdrake-4cd6e4e2bd4f9055616d6b51de95f12f575fe7b1.tar.xz rpmdrake-4cd6e4e2bd4f9055616d6b51de95f12f575fe7b1.zip |
(perform_installation) nicer display of missing packages (sort, one package per line, scrolled dialog)
-rwxr-xr-x | Rpmdrake/pkg.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index e7261e92..7907a56b 100755 --- a/Rpmdrake/pkg.pm +++ b/Rpmdrake/pkg.pm @@ -696,9 +696,9 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-( interactive_msg( N("Installation failed"), N("Installation failed, some files are missing:\n%s\n\nYou may want to update your media database.", - join "\n", map { " $_" } @missing_errors) . + join "\n", map { "- $_" } sort @missing_errors) . (@error_msgs ? N("\n\nError(s) reported:\n%s", join("\n", @error_msgs)) : ''), - if_(@error_msgs > 1, scroll => 1), + scroll => 1, ); goto return_with_error; } |