diff options
author | Olivier Thauvin <nanardon@mandriva.org> | 2003-12-28 16:20:37 +0000 |
---|---|---|
committer | Olivier Thauvin <nanardon@mandriva.org> | 2003-12-28 16:20:37 +0000 |
commit | f20133b2f7da9306e4bf1242402e643df08867a8 (patch) | |
tree | 3f5be0d2e4e750116ac792ca4f474c11cb41efe6 | |
parent | e4a0f2ec14e0a91c9852473d1768e7dc08206ccc (diff) | |
download | urpmi-f20133b2f7da9306e4bf1242402e643df08867a8.tar urpmi-f20133b2f7da9306e4bf1242402e643df08867a8.tar.gz urpmi-f20133b2f7da9306e4bf1242402e643df08867a8.tar.bz2 urpmi-f20133b2f7da9306e4bf1242402e643df08867a8.tar.xz urpmi-f20133b2f7da9306e4bf1242402e643df08867a8.zip |
Fix bug 6666
-rwxr-xr-x | urpmi | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) { |