summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-03-05 12:28:19 +0000
committerFrancois Pons <fpons@mandriva.com>2002-03-05 12:28:19 +0000
commite6ffe7c5af8a92d50771a96cf31a72a57b1dd39a (patch)
tree466404885a3329c2489d1322764aec0e214e3a50 /perl-install
parentdf1468d3138a89ca912b43247020e5ff22432986 (diff)
downloaddrakx-backup-do-not-use-e6ffe7c5af8a92d50771a96cf31a72a57b1dd39a.tar
drakx-backup-do-not-use-e6ffe7c5af8a92d50771a96cf31a72a57b1dd39a.tar.gz
drakx-backup-do-not-use-e6ffe7c5af8a92d50771a96cf31a72a57b1dd39a.tar.bz2
drakx-backup-do-not-use-e6ffe7c5af8a92d50771a96cf31a72a57b1dd39a.tar.xz
drakx-backup-do-not-use-e6ffe7c5af8a92d50771a96cf31a72a57b1dd39a.zip
fixed possible bug when generating synthesis file for urpmi installation.
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 c3cd5e2e8..f94756cdd 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -521,7 +521,7 @@ sub install_urpmi {
close LIST;
#- build synthesis file if there are still not existing (ie not copied from mirror).
- if (-s "$prefix/var/lib/urpmi/synthesis.$name.cz" > 32) {
+ if (-s "$prefix/var/lib/urpmi/synthesis.$name.cz" <= 32) {
run_program::rooted($prefix, "parsehdlist", ">", "/var/lib/urpmi/synthesis.hdlist.$name",
"--synthesis", "/var/lib/urpmi/hdlist.$name.cz");
run_program::rooted($prefix, "gzip", "-S", ".cz", "/var/lib/urpmi/synthesis.hdlist.$name");