diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-11-12 15:02:17 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-11-12 15:02:17 +0000 |
commit | c591ca9f13d57f981856b161afd711c5fd8cab23 (patch) | |
tree | ddf82e267003cc4482b8023ba5f0323fee92501c /perl-install | |
parent | 0ea9f792149b33c374243807c2a4366979f2df8f (diff) | |
download | drakx-backup-do-not-use-c591ca9f13d57f981856b161afd711c5fd8cab23.tar drakx-backup-do-not-use-c591ca9f13d57f981856b161afd711c5fd8cab23.tar.gz drakx-backup-do-not-use-c591ca9f13d57f981856b161afd711c5fd8cab23.tar.bz2 drakx-backup-do-not-use-c591ca9f13d57f981856b161afd711c5fd8cab23.tar.xz drakx-backup-do-not-use-c591ca9f13d57f981856b161afd711c5fd8cab23.zip |
(psUpdateHdlistsDeps): fixed an ugly typo (uses .cz2 for .cz and .cz22 for
.cz2) that makes for than one CD install breaks :-(
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/pkgs.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm index 6c954c244..26f68d2f7 100644 --- a/perl-install/pkgs.pm +++ b/perl-install/pkgs.pm @@ -404,7 +404,7 @@ sub psUpdateHdlistsDeps { #- copy hdlist file directly to $prefix/var/lib/urpmi, this will be used #- for getting header of package during installation or after by urpmi. my $fakemedium = $method . $medium; - my $newf = "$prefix/var/lib/urpmi/hdlist.$fakemedium.cz2" . ($hdlist =~ /\.cz2/ && "2"); + my $newf = "$prefix/var/lib/urpmi/hdlist.$fakemedium.cz" . ($hdlist =~ /\.cz2/ && "2"); -e $newf and do { unlink $newf or die "cannot remove $newf: $!"; }; install_any::getAndSaveFile("Mandrake/base/$hdlist", $newf) or die "no $hdlist found"; symlinkf $newf, "/tmp/$hdlist"; |