aboutsummaryrefslogtreecommitdiffstats
path: root/URPM/Resolve.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-09-02 14:46:00 +0000
committerFrancois Pons <fpons@mandriva.com>2002-09-02 14:46:00 +0000
commit189f5c8198ea8d25f18c4afb9b804daa6ff3ea05 (patch)
tree7788123cf6ccae810b7212217f1ccb75a697c081 /URPM/Resolve.pm
parenta9799b0b67f83d098922df26bdee640e0a76bccf (diff)
downloadperl-URPM-189f5c8198ea8d25f18c4afb9b804daa6ff3ea05.tar
perl-URPM-189f5c8198ea8d25f18c4afb9b804daa6ff3ea05.tar.gz
perl-URPM-189f5c8198ea8d25f18c4afb9b804daa6ff3ea05.tar.bz2
perl-URPM-189f5c8198ea8d25f18c4afb9b804daa6ff3ea05.tar.xz
perl-URPM-189f5c8198ea8d25f18c4afb9b804daa6ff3ea05.zip
0.70-8mdk
Diffstat (limited to 'URPM/Resolve.pm')
-rw-r--r--URPM/Resolve.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm
index 2f5ccc7..399a7d0 100644
--- a/URPM/Resolve.pm
+++ b/URPM/Resolve.pm
@@ -603,6 +603,9 @@ sub request_packages_to_upgrade {
#- build direct access to best package according to name.
foreach my $pkg (@{$urpm->{depslist}}) {
+ defined $options{start} && $pkg->id < $options{start} and next;
+ defined $options{end} && $pkg->id > $options{end} and next;
+
if ($pkg->is_arch_compat) {
foreach ($pkg->provides) {
if (my ($n, $evr) = /^([^\s\[]*)(?:\[\*\])?\[?=+\s*([^\s\]]*)/) {