summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xurpmi4
1 files 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) {