From 29608b0d8b1b1ee700835d9db1458ae2beabbf1c Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 27 Oct 2015 12:47:24 +0100 Subject: [PATCH] repo: with XBPS_FLAG_REPOS_MEMSYNC only process remote repos. --- lib/repo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/repo.c b/lib/repo.c index 6109510e..3a6f6609 100644 --- a/lib/repo.c +++ b/lib/repo.c @@ -261,7 +261,7 @@ xbps_repo_open(struct xbps_handle *xhp, const char *url) * In memory repo sync. */ if (xhp->flags & XBPS_FLAG_REPOS_MEMSYNC) { - if (repo_open_remote(repo)) + if (repo->is_remote && repo_open_remote(repo)) return repo; goto out;