summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2014-03-16 16:17:15 -0400
committerDave Reisner <dreisner@archlinux.org>2014-03-16 16:17:15 -0400
commitc67a550db509209e0044f9fc3581fdfe393622ce (patch)
tree4a80b1b82e8e1b8162303c4a2c251536b237c3f8
parent0ba876f8df5141fa34f706f60c2a02119b82af1c (diff)
downloadexpac-c67a550db509209e0044f9fc3581fdfe393622ce.tar.xz
Don't surface providers when querying directly
Solves GHI#14. This is the right thing to do since the search behavior will find providers. A direct query should be exact that -- direct, without interpretation.
-rw-r--r--expac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/expac.c b/expac.c
index 9770a96..2c652e9 100644
--- a/expac.c
+++ b/expac.c
@@ -708,7 +708,7 @@ static alpm_list_t *resolve_pkg(alpm_list_t *targets) {
}
if (!(pkg = alpm_db_get_pkg(repo, pkgname)) &&
- !(pkg = alpm_find_satisfier(alpm_db_get_pkgcache(repo), pkgname))) {
+ !(pkg = alpm_db_get_pkg(repo, pkgname))) {
continue;
}