summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-09-06 12:06:18 +0000
committerFrancois Pons <fpons@mandriva.com>2001-09-06 12:06:18 +0000
commit4e28bea0321e908976f463141785dfde000dc2fc (patch)
tree7bbb8fee4b6870fc18dc9e0e48ab13567127f7cc /perl-install
parentdecb61aa724cac5623222e7258ba85ca56e3de75 (diff)
downloaddrakx-4e28bea0321e908976f463141785dfde000dc2fc.tar
drakx-4e28bea0321e908976f463141785dfde000dc2fc.tar.gz
drakx-4e28bea0321e908976f463141785dfde000dc2fc.tar.bz2
drakx-4e28bea0321e908976f463141785dfde000dc2fc.tar.xz
drakx-4e28bea0321e908976f463141785dfde000dc2fc.zip
revert previous patch, this is not usable with current rpm as it complains if
one the file has a modified MD5SUM against the header describing it in the hdlist, so this is most of the time useless.
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/pkgs.pm6
1 files changed, 0 insertions, 6 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index e4c05e598..d8854e60d 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -1257,12 +1257,6 @@ sub install($$$;$$) {
my $f = packageFile($p);
print LOG "$f $p->[$MEDIUM]{descr}\n";
my $fd = install_any::getFile($f, $p->[$MEDIUM]{descr});
- unless ($fd) {
- my ($fp, $rp, $lp) = $f =~ /(.*)(\d+)(mdk\..*)/ or return -1; #- we can't analyse filename correctly.
- $rp += 1; #- try with release number increased, hey this is just a try for Cooker.
- print LOG "problem to get above file, trying with $fp$rp$lp instead\n";
- $fd = install_any::getFile("$fp$rp$lp", $p->[$MEDIUM]{descr});
- }
$fd ? fileno $fd : -1;
};
my $callbackClose = sub { packageSetFlagInstalled($packages{$_[0]}, 1) };