summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/urpm.pm b/urpm.pm
index 9e1e3618..d03a4647 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -2166,7 +2166,10 @@ sub search_packages {
#- try to search through provides.
if (my @l = map {
$_
- && ($options{src} ? $_->arch eq 'src' : $_->is_arch_compat)
+ && ($options{ignorearch}
+ ? 1
+ : $options{src} ? $_->arch eq 'src' : $_->is_arch_compat
+ )
&& ($options{use_provides} || $_->name eq $v)
&& defined($_->id)
&& (!defined $urpm->{searchmedia} || (