From f20133b2f7da9306e4bf1242402e643df08867a8 Mon Sep 17 00:00:00 2001 From: Olivier Thauvin Date: Sun, 28 Dec 2003 16:20:37 +0000 Subject: Fix bug 6666 --- urpmi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/urpmi b/urpmi index 0d155941..98ea8d1c 100755 --- a/urpmi +++ b/urpmi @@ -630,7 +630,7 @@ foreach my $set (@{$state->{transaction} || []}) { #- check for local files. if (my @missing = grep { m|^/| && ! -e $_ } values %transaction_sources_install, values %transaction_sources) { message(N("Installation failed, some files are missing:\n%s\nYou may want to update your urpmi database", - join "\n", map { " $_" } @missing)); + join "\n", map { s|([^:]*://[^/:\@]*:)[^/:\@]*(\@.*)|$1xxxx$2|; " $_" } @missing)); ++$nok; next; } @@ -752,7 +752,7 @@ $X and gurpm::end(); my $exit_code = 0; if (values %error_sources) { message(N("Installation failed, some files are missing:\n%s\nYou may want to update your urpmi database", - join "\n", map { " $_" } values %error_sources)); + join "\n", map { s|([^:]*://[^/:\@]*:)[^/:\@]*(\@.*)|$1xxxx$2|; " $_" } values %error_sources)); $exit_code = 10; } if ($nok) { -- cgit v1.2.1