summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/urpm.pm b/urpm.pm
index b6de2d4b..43d6d102 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -2267,6 +2267,10 @@ sub search_packages {
);
$result = 0;
} else {
+ if (!@{$exact_a{$_} || $exact_ra{$_} || []}) {
+ #- we found a non-exact match
+ $result = 'substring';
+ }
foreach (values %l) {
my $best;
foreach (@$_) {