diff options
Diffstat (limited to 'URPM')
-rw-r--r-- | URPM/Resolve.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm index 0ba8ff1..9987dc5 100644 --- a/URPM/Resolve.pm +++ b/URPM/Resolve.pm @@ -845,7 +845,7 @@ sub compute_flags { if (%regex) { foreach my $pkg (@{$urpm->{depslist}}) { #- check if fullname is matching a regexp. - if (grep { exists($regex{$_}{''}) && $pkg->fullname =~ /$1/ } keys %regex) { + if (grep { exists($regex{$_}{''}) && $pkg->fullname =~ /$_/ } keys %regex) { #- a single selection on fullname using a regular expression. foreach (qw(skip disable_obsolete)) { if ($options{$_} && !$pkg->flag($_)) { |