xbps-install: only sync XBPS_PKGINDEX from remote repos.

This commit is contained in:
Juan RP 2012-11-07 10:38:37 +01:00
parent 05984a31b1
commit d3f5223c1b

View File

@ -210,7 +210,7 @@ main(int argc, char **argv)
/* Sync remote repository index files by default */ /* Sync remote repository index files by default */
if (!skip_sync || !drun) { if (!skip_sync || !drun) {
rv = xbps_rpool_sync(&xh, NULL); rv = xbps_rpool_sync(&xh, XBPS_PKGINDEX, NULL);
if (rv != 0) if (rv != 0)
goto out; goto out;
} }