summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-07-29 14:37:59 +0000
committerFrancois Pons <fpons@mandriva.com>2003-07-29 14:37:59 +0000
commit6e025f28922d718b89c5316c541c1e79eeb0d79c (patch)
treef911c04c09e284935934e4b346083014ef2952f0 /urpm
parentfa0b5acdf1940adb419b2561b8f27f6d48440403 (diff)
downloadurpmi-6e025f28922d718b89c5316c541c1e79eeb0d79c.tar
urpmi-6e025f28922d718b89c5316c541c1e79eeb0d79c.tar.gz
urpmi-6e025f28922d718b89c5316c541c1e79eeb0d79c.tar.bz2
urpmi-6e025f28922d718b89c5316c541c1e79eeb0d79c.tar.xz
urpmi-6e025f28922d718b89c5316c541c1e79eeb0d79c.zip
added support for --keep.
Diffstat (limited to 'urpm')
-rw-r--r--urpm/parallel_ka_run.pm2
-rw-r--r--urpm/parallel_ssh.pm2
2 files changed, 2 insertions, 2 deletions
diff --git a/urpm/parallel_ka_run.pm b/urpm/parallel_ka_run.pm
index d94d20a1..7b8792f4 100644
--- a/urpm/parallel_ka_run.pm
+++ b/urpm/parallel_ka_run.pm
@@ -103,7 +103,7 @@ sub parallel_resolve_dependencies {
$parallel->{synthesis} = $synthesis;
#- compute command line of urpm? tools.
- my $line = $parallel->{line} . ($options{auto_select} ? ' --auto-select' : '');
+ my $line = $parallel->{line} . ($options{auto_select} ? ' --auto-select' : '') . ($options{keep} ? ' --keep' : '');
foreach (keys %$requested) {
if (/\|/) {
#- taken from URPM::Resolve to filter out choices, not complete though.
diff --git a/urpm/parallel_ssh.pm b/urpm/parallel_ssh.pm
index 4f6f5cbb..cfd9afe4 100644
--- a/urpm/parallel_ssh.pm
+++ b/urpm/parallel_ssh.pm
@@ -108,7 +108,7 @@ sub parallel_resolve_dependencies {
$parallel->{synthesis} = $synthesis;
#- compute command line of urpm? tools.
- my $line = $parallel->{line} . ($options{auto_select} ? ' --auto-select' : '');
+ my $line = $parallel->{line} . ($options{auto_select} ? ' --auto-select' : '') . ($options{keep} ? ' --keep' : '');
foreach (keys %$requested) {
if (/\|/) {
#- taken from URPM::Resolve to filter out choices, not complete though.