From c67a550db509209e0044f9fc3581fdfe393622ce Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sun, 16 Mar 2014 16:17:15 -0400 Subject: 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. --- expac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3-54-g00ecf