Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Route all candidate packages via find_pkg_match().
Previously any package that wasn't considered a glob was passed right though, but due to some later exact_pkgfmt checks could result in questionable results. For example, given the following available packages: tex-pst-2dplot-1.5 PSTricks package for drawing 2D curves tex-pst-2dplot-doc-1.5 Documentation for tex-pst-2dplot Running "pkgin install tex-pst-2d" would result in an install attempt for tex-pst-2dplot-doc, due to "-2" being handled as a version match, which differs from regular package match behaviour. Passing all package requests through find_pkg_match() first ensures we now get the correct: tex-pst-2d is not available in the repository even if it is slightly more expensive.
- Loading branch information