diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-02-13 12:45:02 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-02-13 12:45:02 +0000 |
commit | 220d1f48b78ac017ca7be7f40ca0b221d254784b (patch) | |
tree | c7ff0db8dd03b285c51203a94e488286180e8f80 | |
parent | e8d23308b6cc525f4e9dea8fb9e2923055051353 (diff) | |
download | urpmi-220d1f48b78ac017ca7be7f40ca0b221d254784b.tar urpmi-220d1f48b78ac017ca7be7f40ca0b221d254784b.tar.gz urpmi-220d1f48b78ac017ca7be7f40ca0b221d254784b.tar.bz2 urpmi-220d1f48b78ac017ca7be7f40ca0b221d254784b.tar.xz urpmi-220d1f48b78ac017ca7be7f40ca0b221d254784b.zip |
Another --ignorearch fix in search_packages()
-rw-r--r-- | urpm.pm | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |