xbps-query: sync XBPS_PKGINDEX_FILES with ownedby in repository mode.
This commit is contained in:
parent
d3f5223c1b
commit
2a1e4fe137
@ -201,9 +201,13 @@ int
|
||||
repo_ownedby(struct xbps_handle *xhp, int npatterns, char **patterns)
|
||||
{
|
||||
struct ffdata ffd;
|
||||
int rv;
|
||||
|
||||
ffd.npatterns = npatterns;
|
||||
ffd.patterns = patterns;
|
||||
|
||||
if ((rv = xbps_rpool_sync(xhp, XBPS_PKGINDEX_FILES, NULL)) != 0)
|
||||
return rv;
|
||||
|
||||
return xbps_rpool_foreach(xhp, repo_ownedby_cb, &ffd);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user