aboutsummaryrefslogtreecommitdiffstats
path: root/URPM/Resolve.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-04-14 13:07:05 +0000
committerFrancois Pons <fpons@mandriva.com>2003-04-14 13:07:05 +0000
commitb754d20b70bc9734b7471dd7aeafc73c038d7d5a (patch)
treeab004df96143d58e627c3e057a460003a07f7d9a /URPM/Resolve.pm
parentf0d6ed41470c018f5515d85969478866056a2b62 (diff)
downloadperl-URPM-b754d20b70bc9734b7471dd7aeafc73c038d7d5a.tar
perl-URPM-b754d20b70bc9734b7471dd7aeafc73c038d7d5a.tar.gz
perl-URPM-b754d20b70bc9734b7471dd7aeafc73c038d7d5a.tar.bz2
perl-URPM-b754d20b70bc9734b7471dd7aeafc73c038d7d5a.tar.xz
perl-URPM-b754d20b70bc9734b7471dd7aeafc73c038d7d5a.zip
0.82-2mdk
Diffstat (limited to 'URPM/Resolve.pm')
-rw-r--r--URPM/Resolve.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm
index b69c844..7624254 100644
--- a/URPM/Resolve.pm
+++ b/URPM/Resolve.pm
@@ -660,7 +660,7 @@ sub compute_skip_flags {
if (grep { exists($skip->{$_}{''}) && /^\/(.*)\/$/ && $pkg->fullname =~ /$1/ } keys %$skip) {
#- a single selection on fullname using a regular expression.
unless ($pkg->flag_skip) {
- $pkg->set_flag_skip;
+ $pkg->set_flag_skip(1);
$options{callback} and $options{callback}->($urpm, $pkg, %options);
}
} else {
@@ -670,7 +670,7 @@ sub compute_skip_flags {
foreach my $sn ($n, grep { /^\/(.*)\/$/ && $n =~ /$1/ } keys %$skip) {
foreach (keys %{$skip->{$sn} || {}}) {
if (URPM::ranges_overlap($_, $s) && !$pkg->flag_skip) {
- $pkg->set_flag_skip;
+ $pkg->set_flag_skip(1);
$options{callback} and $options{callback}->($urpm, $pkg, %options);
}
}