summaryrefslogtreecommitdiffstats
path: root/perl-install/pkgs.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-03-06 15:35:32 +0000
committerFrancois Pons <fpons@mandriva.com>2002-03-06 15:35:32 +0000
commite7fa52820fba6a243600c049baf2ca670aae5a56 (patch)
tree06325dacb604f9c01ff0a068fea8e1489e74854d /perl-install/pkgs.pm
parent24001cf2eef477fe59dc4c81ef990306a39f38ff (diff)
downloaddrakx-backup-do-not-use-e7fa52820fba6a243600c049baf2ca670aae5a56.tar
drakx-backup-do-not-use-e7fa52820fba6a243600c049baf2ca670aae5a56.tar.gz
drakx-backup-do-not-use-e7fa52820fba6a243600c049baf2ca670aae5a56.tar.bz2
drakx-backup-do-not-use-e7fa52820fba6a243600c049baf2ca670aae5a56.tar.xz
drakx-backup-do-not-use-e7fa52820fba6a243600c049baf2ca670aae5a56.zip
add save of synthesis too when partitions are reformated, so that urpmi is happy after.
Diffstat (limited to 'perl-install/pkgs.pm')
-rw-r--r--perl-install/pkgs.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index f91365ddc..b79369ab6 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -376,6 +376,8 @@ sub psUpdateHdlistsDeps {
-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";
+ install_any::getAndSaveFile("Mandrake/base/synthesis.$hdlist",
+ "$prefix/var/lib/urpmi/synthesis.hdlist.$fakemedium.cz" . ($hdlist =~ /\.cz2/ && "2"));
++$medium;
}