From 83b4444047c4999a9530bf2cf87838f67913ac67 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Sat, 14 Apr 2001 12:58:52 +0000 Subject: fixed to gzip synthesis file. --- perl-install/install_any.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'perl-install/install_any.pm') diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index 46a524d54..ff37c743c 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -465,8 +465,9 @@ sub install_urpmi { my $name = $_->{fakemedium}; #- build synthesis file at install, this will improve performance greatly. - run_program::rooted($prefix, "parsehdlist", ">", "/var/lib/urpmi/synthesis.hdlist.$name.cz", + run_program::rooted($prefix, "parsehdlist", ">", "/var/lib/urpmi/synthesis.hdlist.$name", "--compact", "--provides", "--requires", "/var/lib/urpmi/hdlist.$name.cz"); + run_program::rooted($prefix, "gzip", "-S", ".cz", "/var/lib/urpmi/synthesis.hdlist.$name"); #- safe guard correct generation of synthesis file. -s "$prefix/var/lib/urpmi/synthesis.hdlist.$name.cz" > 24 or unlink "$prefix/var/lib/urpmi/synthesis.hdlist.$name.cz"; -- cgit v1.2.1