repo: with XBPS_FLAG_REPOS_MEMSYNC only process remote repos.
This commit is contained in:
parent
be5e544093
commit
29608b0d8b
@ -261,7 +261,7 @@ 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 (xhp->flags & XBPS_FLAG_REPOS_MEMSYNC) {
|
||||||
if (repo_open_remote(repo))
|
if (repo->is_remote && repo_open_remote(repo))
|
||||||
return repo;
|
return repo;
|
||||||
|
|
||||||
goto out;
|
goto out;
|
||||||
|
Loading…
Reference in New Issue
Block a user