From 633c18c2c9946d99c2ed6a90bf83c0c1d4294f1c Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 6 Mar 2007 11:43:24 +0000 Subject: kill dead code --- urpmi | 9 --------- 1 file changed, 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) { -- cgit v1.2.1