summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-03-13 10:19:11 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-03-13 10:19:11 +0000
commit4d5bc7f97d665dd89d2a5f983e0be18dced07251 (patch)
treefb98f0d4e225f181575a5d4da4d115651a5e72bb /urpm.pm
parentbf9e7546b7f3f93eeda2f9ebe35aca1cd3e87147 (diff)
downloadurpmi-4d5bc7f97d665dd89d2a5f983e0be18dced07251.tar
urpmi-4d5bc7f97d665dd89d2a5f983e0be18dced07251.tar.gz
urpmi-4d5bc7f97d665dd89d2a5f983e0be18dced07251.tar.bz2
urpmi-4d5bc7f97d665dd89d2a5f983e0be18dced07251.tar.xz
urpmi-4d5bc7f97d665dd89d2a5f983e0be18dced07251.zip
Passing bundle option, even if that does nothing for now
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm10
1 files changed, 5 insertions, 5 deletions
diff --git a/urpm.pm b/urpm.pm
index 4684091c..adc36c04 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -3108,7 +3108,7 @@ sub find_packages_to_remove {
$db->traverse_tag('name', [ $n ], sub {
my ($p) = @_;
$p->fullname eq $_ or return;
- $urpm->resolve_rejected($db, $state, $p, removed => 1);
+ $urpm->resolve_rejected($db, $state, $p, removed => 1, bundle => $options{bundle});
push @m, scalar $p->fullname;
$found = 1;
});
@@ -3120,7 +3120,7 @@ sub find_packages_to_remove {
$db->traverse_tag('name', [ $n ], sub {
my ($p) = @_;
join('-', ($p->fullname)[0..2]) eq $_ or return;
- $urpm->resolve_rejected($db, $state, $p, removed => 1);
+ $urpm->resolve_rejected($db, $state, $p, removed => 1, bundle => $options{bundle});
push @m, scalar $p->fullname;
$found = 1;
});
@@ -3132,7 +3132,7 @@ sub find_packages_to_remove {
$db->traverse_tag('name', [ $n ], sub {
my ($p) = @_;
join('-', ($p->fullname)[0..1]) eq $_ or return;
- $urpm->resolve_rejected($db, $state, $p, removed => 1);
+ $urpm->resolve_rejected($db, $state, $p, removed => 1, bundle => $options{bundle});
push @m, scalar $p->fullname;
$found = 1;
});
@@ -3143,7 +3143,7 @@ sub find_packages_to_remove {
$db->traverse_tag('name', [ $_ ], sub {
my ($p) = @_;
$p->name eq $_ or return;
- $urpm->resolve_rejected($db, $state, $p, removed => 1);
+ $urpm->resolve_rejected($db, $state, $p, removed => 1, bundle => $options{bundle});
push @m, scalar $p->fullname;
$found = 1;
});
@@ -3169,7 +3169,7 @@ sub find_packages_to_remove {
my ($p) = @_;
my $f = scalar $p->fullname;
$f =~ $qmatch or return;
- $urpm->resolve_rejected($db, $state, $p, removed => 1);
+ $urpm->resolve_rejected($db, $state, $p, removed => 1, bundle => $options{bundle});
push @m, $f;
});