summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-04-14 12:58:52 +0000
committerFrancois Pons <fpons@mandriva.com>2001-04-14 12:58:52 +0000
commit83b4444047c4999a9530bf2cf87838f67913ac67 (patch)
treeccde18ff3421eab8052125834c9621291de30eba
parent95a7b8b26fcce58c4af014ed19e473fa1366caaa (diff)
downloaddrakx-83b4444047c4999a9530bf2cf87838f67913ac67.tar
drakx-83b4444047c4999a9530bf2cf87838f67913ac67.tar.gz
drakx-83b4444047c4999a9530bf2cf87838f67913ac67.tar.bz2
drakx-83b4444047c4999a9530bf2cf87838f67913ac67.tar.xz
drakx-83b4444047c4999a9530bf2cf87838f67913ac67.zip
fixed to gzip synthesis file.
-rw-r--r--perl-install/install_any.pm3
1 files changed, 2 insertions, 1 deletions
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";