From e92fcfaefdb757ae3d60aac81bd631cf47ade347 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Tue, 22 Jan 2002 16:06:24 +0000 Subject: added support to save already existing synthesis file. --- perl-install/pkgs.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'perl-install') diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm index 36a439607..1fca48c33 100644 --- a/perl-install/pkgs.pm +++ b/perl-install/pkgs.pm @@ -436,6 +436,8 @@ sub psUsingHdlist { -e $newf and do { unlink $newf or die "cannot remove $newf: $!"; }; install_any::getAndSaveFile($fhdlist || "Mandrake/base/$hdlist", $newf) or die "no $hdlist found"; symlinkf $newf, "/tmp/$hdlist"; + install_any::getAndSaveFile("Mandrake/base/synthesis.$hdlist", + "$prefix/var/lib/urpmi/synthesis.hdlist.$fakemedium.cz" . ($hdlist =~ /\.cz2/ && "2")); #- avoid using more than one medium if Cd is not ejectable. #- but keep all medium here so that urpmi has the whole set. -- cgit v1.2.1