repo: fix 29608b0 correctly.
In 29608b0 local repos were simply ignored.
This commit is contained in:
parent
6044030ec1
commit
2c81984f48
@ -260,8 +260,8 @@ xbps_repo_open(struct xbps_handle *xhp, const char *url)
|
|||||||
/*
|
/*
|
||||||
* In memory repo sync.
|
* In memory repo sync.
|
||||||
*/
|
*/
|
||||||
if (xhp->flags & XBPS_FLAG_REPOS_MEMSYNC) {
|
if (repo->is_remote && (xhp->flags & XBPS_FLAG_REPOS_MEMSYNC)) {
|
||||||
if (repo->is_remote && repo_open_remote(repo))
|
if (repo_open_remote(repo))
|
||||||
return repo;
|
return repo;
|
||||||
|
|
||||||
goto out;
|
goto out;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user