summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-11-21 15:50:17 +0000
committerFrancois Pons <fpons@mandriva.com>2001-11-21 15:50:17 +0000
commit1e040e9e1ebbe9021210404e62bc98564e6c1ea0 (patch)
treeb7e19e0216d9f0308498294121e5e0f994fd381f /perl-install
parent34be445681c8dc42b73e95b80464ebad33503e8e (diff)
downloaddrakx-1e040e9e1ebbe9021210404e62bc98564e6c1ea0.tar
drakx-1e040e9e1ebbe9021210404e62bc98564e6c1ea0.tar.gz
drakx-1e040e9e1ebbe9021210404e62bc98564e6c1ea0.tar.bz2
drakx-1e040e9e1ebbe9021210404e62bc98564e6c1ea0.tar.xz
drakx-1e040e9e1ebbe9021210404e62bc98564e6c1ea0.zip
fixed install_urpmi to build a correct urpmi db.
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 00a4e4f34..03709951f 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -520,7 +520,7 @@ sub install_urpmi {
#- build synthesis file at install, this will improve performance greatly.
run_program::rooted($prefix, "parsehdlist", ">", "/var/lib/urpmi/synthesis.hdlist.$name",
- "--compact", "--provides", "--requires", "/var/lib/urpmi/hdlist.$name.cz");
+ "--compact", "--name", "--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";