Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ltmpl: Handle installing provides with filter_provides
Previously the installpkg command used filter_match to select packages, which works great most of the time. It fails when the package is only available as a provide. This happened recently with wget moving to wget2-wget, causing builds to fail because it couldn't find wget. This changes installpkg to first try the name, but if that fails it will try provides. This *may* still fail if the package isn't available by name but has multiple providers. Currently this is not an issue, just something to keep in mind. NOTE: This change only applies to packages without version selection. If a version comparison is included it only works with named packages, not provides.
- Loading branch information