aboutsummaryrefslogtreecommitdiffstats
path: root/URPM/Resolve.pm
diff options
context:
space:
mode:
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);
}
}