summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-03-06 11:43:24 +0000
committerThierry Vignaud <tv@mandriva.org>2007-03-06 11:43:24 +0000
commit633c18c2c9946d99c2ed6a90bf83c0c1d4294f1c (patch)
tree35f38c3d08fa63ae79d61919052add971918ad36
parentdfcdebefc86348c2a07a8cbc93f37b54a35d52e7 (diff)
downloadurpmi-633c18c2c9946d99c2ed6a90bf83c0c1d4294f1c.tar
urpmi-633c18c2c9946d99c2ed6a90bf83c0c1d4294f1c.tar.gz
urpmi-633c18c2c9946d99c2ed6a90bf83c0c1d4294f1c.tar.bz2
urpmi-633c18c2c9946d99c2ed6a90bf83c0c1d4294f1c.tar.xz
urpmi-633c18c2c9946d99c2ed6a90bf83c0c1d4294f1c.zip
kill dead code
-rwxr-xr-xurpmi9
1 files changed, 0 insertions, 9 deletions
diff --git a/urpmi b/urpmi
index 244169a5..6249ae4c 100755
--- a/urpmi
+++ b/urpmi
@@ -683,15 +683,6 @@ foreach my $set (@{$state->{transaction} || []}) {
}
}
- #- check for local files.
- if (my @missing = grep { m|^/| && ! -e $_ } values %transaction_sources_install, values %transaction_sources) {
- #- Warning : the following message is parsed in urpm::parallel_*
- print N("Installation failed, some files are missing:\n%s\nYou may want to update your urpmi database",
- join "\n", map { s|([^:]*://[^/:\@]*:)[^/:\@]*(\@.*)|$1xxxx$2|; " $_" } @missing), "\n";
- ++$nok;
- next;
- }
-
#- install source package only (whatever the user is root or not, but use rpm for that).
if ($install_src) {
if (my @l = grep { /\.src\.rpm$/ } values %transaction_sources_install, values %transaction_sources) {