aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-03-06 11:44:17 +0000
committerThierry Vignaud <tv@mandriva.org>2007-03-06 11:44:17 +0000
commit12b54be5191e62bd5987ec25060fd28aae6b948e (patch)
treefe8560744029c731f498943e4e763ebdb1077b36
parentb63e58cafadbfa42007037cc6cacc54aeaa98447 (diff)
downloadrpmdrake-12b54be5191e62bd5987ec25060fd28aae6b948e.tar
rpmdrake-12b54be5191e62bd5987ec25060fd28aae6b948e.tar.gz
rpmdrake-12b54be5191e62bd5987ec25060fd28aae6b948e.tar.bz2
rpmdrake-12b54be5191e62bd5987ec25060fd28aae6b948e.tar.xz
rpmdrake-12b54be5191e62bd5987ec25060fd28aae6b948e.zip
(perform_installation) kill dead code
-rwxr-xr-xRpmdrake/pkg.pm7
1 files changed, 0 insertions, 7 deletions
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) {