Improve download code, as well as fixing refetching when syncing to a

remote package index. Bump XBPS_RELVER to 20091118.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20091118062814-3pqbs9n1797einhm
This commit is contained in:
Juan RP
2009-11-18 07:28:14 +01:00
parent d5f9366bfc
commit bc14a026a5
5 changed files with 84 additions and 58 deletions

View File

@@ -133,7 +133,7 @@ xbps_sync_repository_pkg_index(const char *uri)
free(lrepodir);
return errno;
}
rv = xbps_fetch_file(rpidx, lrepodir, NULL);
rv = xbps_fetch_file(rpidx, lrepodir, true, NULL);
free(rpidx);
free(lrepodir);