xbps-query: do not sync repo index-files; use xbps-install -S instead.
This commit is contained in:
parent
a92d6e73e5
commit
cc068b2b39
@ -175,15 +175,9 @@ 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) {
|
||||
fprintf(stderr, "xbps-query: failed to sync rindex "
|
||||
"files: %s\n", strerror(rv));
|
||||
return rv;
|
||||
}
|
||||
return xbps_rpool_foreach(xhp, repo_ownedby_cb, &ffd);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user