diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-02-13 11:27:21 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-02-13 11:27:21 +0000 |
commit | d9d51d48161223ff697f5019ec3e0a9e51663ccc (patch) | |
tree | 7f0ce4b40134860c91844a6383492c6e0ab146ae /urpm.pm | |
parent | 2f54c9ca9198ab2cd73589dcbe7458c7242430a0 (diff) | |
download | urpmi-d9d51d48161223ff697f5019ec3e0a9e51663ccc.tar urpmi-d9d51d48161223ff697f5019ec3e0a9e51663ccc.tar.gz urpmi-d9d51d48161223ff697f5019ec3e0a9e51663ccc.tar.bz2 urpmi-d9d51d48161223ff697f5019ec3e0a9e51663ccc.tar.xz urpmi-d9d51d48161223ff697f5019ec3e0a9e51663ccc.zip |
Make research of packages work with ignorearch option
Diffstat (limited to 'urpm.pm')
-rw-r--r-- | urpm.pm | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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} || ( |