summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mandriva.org>2003-12-28 16:20:37 +0000
committerOlivier Thauvin <nanardon@mandriva.org>2003-12-28 16:20:37 +0000
commitf20133b2f7da9306e4bf1242402e643df08867a8 (patch)
tree3f5be0d2e4e750116ac792ca4f474c11cb41efe6
parente4a0f2ec14e0a91c9852473d1768e7dc08206ccc (diff)
downloadurpmi-f20133b2f7da9306e4bf1242402e643df08867a8.tar
urpmi-f20133b2f7da9306e4bf1242402e643df08867a8.tar.gz
urpmi-f20133b2f7da9306e4bf1242402e643df08867a8.tar.bz2
urpmi-f20133b2f7da9306e4bf1242402e643df08867a8.tar.xz
urpmi-f20133b2f7da9306e4bf1242402e643df08867a8.zip
Fix bug 6666
-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) {