summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-07-31 15:51:59 +0000
committerFrancois Pons <fpons@mandriva.com>2003-07-31 15:51:59 +0000
commit629de6b8fa6e64536889a44f222505bd0b12d631 (patch)
treef919818820d07ce46933a277bc57682079edef6c
parent4e4f0abc763fd0a3d8a7582fececabb820d6c9df (diff)
downloadurpmi-629de6b8fa6e64536889a44f222505bd0b12d631.tar
urpmi-629de6b8fa6e64536889a44f222505bd0b12d631.tar.gz
urpmi-629de6b8fa6e64536889a44f222505bd0b12d631.tar.bz2
urpmi-629de6b8fa6e64536889a44f222505bd0b12d631.tar.xz
urpmi-629de6b8fa6e64536889a44f222505bd0b12d631.zip
disable split of transaction when used with --synthesis.
-rw-r--r--urpm.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/urpm.pm b/urpm.pm
index 5d7a402d..ea161860 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -732,6 +732,8 @@ sub configure {
$options{media} || $options{excludemedia} || $options{sortmedia} || $options{update} || $options{parallel} and
$urpm->{fatal}(1, N("--synthesis cannot be used with --media, --excludemedia, --sortmedia, --update or --parallel"));
$urpm->parse_synthesis($options{synthesis});
+ #- synthesis disable the split of transaction (too risky and not usefull).
+ $urpm->{options}{'split-length'} = 0;
}
} else {
$urpm->read_config(%options);