diff options
author | Dave Reisner <dreisner@archlinux.org> | 2014-03-16 16:17:15 -0400 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2014-03-16 16:17:15 -0400 |
commit | c67a550db509209e0044f9fc3581fdfe393622ce (patch) | |
tree | 4a80b1b82e8e1b8162303c4a2c251536b237c3f8 | |
parent | 0ba876f8df5141fa34f706f60c2a02119b82af1c (diff) | |
download | expac-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |