Created
March 29, 2015 17:33
-
-
Save Duncaen/8b8f850cde2b40a25a25 to your computer and use it in GitHub Desktop.
stdin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git lib/transaction_ops.c lib/transaction_ops.c | |
| index 46d129e..b852df1 100644 | |
| --- lib/transaction_ops.c | |
| +++ lib/transaction_ops.c | |
| @@ -112,10 +112,10 @@ trans_find_pkg(struct xbps_handle *xhp, const char *pkg, bool reinstall, | |
| /* not found */ | |
| return ENOENT; | |
| } | |
| - pkg_repod = xbps_repo_get_pkg(repo, pkg); | |
| + pkg_repod = xbps_repo_get_pkg(repo, pkg) || xbps_repo_get_virtualpkg(repo, pkg); | |
| } else { | |
| /* find update from rpool */ | |
| - pkg_repod = xbps_rpool_get_pkg(xhp, pkg); | |
| + pkg_repod = xbps_rpool_get_pkg(xhp, pkg) || xbps_rpool_get_virtualpkg(xhp, pkg); | |
| } | |
| if (pkg_repod == NULL) { | |
| /* not found */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment