From cc068b2b3981f5e4be78f75e4943a3a9b8e67469 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 31 Jan 2013 10:44:27 +0100 Subject: [PATCH] xbps-query: do not sync repo index-files; use xbps-install -S instead. --- bin/xbps-query/ownedby.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/bin/xbps-query/ownedby.c b/bin/xbps-query/ownedby.c index 1edcbedc..4a9ebb5d 100644 --- a/bin/xbps-query/ownedby.c +++ b/bin/xbps-query/ownedby.c @@ -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); }