summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-09-06 16:28:48 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-09-06 16:28:48 +0000
commite3fc0b77e2ffd2cd319f7a26c7b41a205c791e72 (patch)
tree2be60a1427437bb03bb453a3859a98f8a7fda6f6
parent7f00e07ad736eae1d0ec56c43e2da61bfc9f1900 (diff)
downloadurpmi-e3fc0b77e2ffd2cd319f7a26c7b41a205c791e72.tar
urpmi-e3fc0b77e2ffd2cd319f7a26c7b41a205c791e72.tar.gz
urpmi-e3fc0b77e2ffd2cd319f7a26c7b41a205c791e72.tar.bz2
urpmi-e3fc0b77e2ffd2cd319f7a26c7b41a205c791e72.tar.xz
urpmi-e3fc0b77e2ffd2cd319f7a26c7b41a205c791e72.zip
fix typo in previous previous commit
-rw-r--r--urpm/select.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/select.pm b/urpm/select.pm
index ddf04ea6..c01d8b17 100644
--- a/urpm/select.pm
+++ b/urpm/select.pm
@@ -86,7 +86,7 @@ sub search_packages {
&& ($options{src} ? $_->arch eq 'src' : $_->is_arch_compat)
&& ($options{use_provides} || $_->name eq $v)
&& defined($_->id)
- && ($urpm->{searchmedia} || pkg_in_searchmedia($urpm, $_))
+ && (!$urpm->{searchmedia} || pkg_in_searchmedia($urpm, $_))
? $_ : @{[]};
} $urpm->packages_providing($v))
{