summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-02-13 12:45:02 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-02-13 12:45:02 +0000
commit220d1f48b78ac017ca7be7f40ca0b221d254784b (patch)
treec7ff0db8dd03b285c51203a94e488286180e8f80 /urpm.pm
parente8d23308b6cc525f4e9dea8fb9e2923055051353 (diff)
downloadurpmi-220d1f48b78ac017ca7be7f40ca0b221d254784b.tar
urpmi-220d1f48b78ac017ca7be7f40ca0b221d254784b.tar.gz
urpmi-220d1f48b78ac017ca7be7f40ca0b221d254784b.tar.bz2
urpmi-220d1f48b78ac017ca7be7f40ca0b221d254784b.tar.xz
urpmi-220d1f48b78ac017ca7be7f40ca0b221d254784b.zip
Another --ignorearch fix in search_packages()
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm.pm b/urpm.pm
index d03a4647..29e7aa01 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -2208,7 +2208,7 @@ sub search_packages {
(0 .. $#{$urpm->{depslist}})
) {
my $pkg = $urpm->{depslist}[$id];
- ($options{src} ? $pkg->arch eq 'src' : $pkg->is_arch_compat) or next;
+ ($options{ignorearch} ? 1 : $options{src} ? $pkg->arch eq 'src' : $pkg->is_arch_compat) or next;
my $pack_name = $pkg->name;
my $pack_ra = $pack_name . '-' . $pkg->version;
my $pack_a = "$pack_ra-" . $pkg->release;