From 12b54be5191e62bd5987ec25060fd28aae6b948e Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 6 Mar 2007 11:44:17 +0000 Subject: (perform_installation) kill dead code --- Rpmdrake/pkg.pm | 7 ------- 1 file changed, 7 deletions(-) (limited to 'Rpmdrake') diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index fa02a1d7..e3cefa7e 100755 --- a/Rpmdrake/pkg.pm +++ b/Rpmdrake/pkg.pm @@ -608,13 +608,6 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-( } } - #- check for local files. - if (my @missing = grep { m|^/| && ! -e $_ } values %transaction_sources_install, values %transaction_sources) { - 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"; - next; - } - if (keys(%transaction_sources_install) || keys(%transaction_sources)) { if ($verbose >= 0) { -- cgit v1.2.1