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

@@ -164,7 +164,7 @@ download_package_list(prop_object_iterator_t iter)
}
printf("Downloading %s-%s binary package ...\n",
pkgname, version);
rv = xbps_fetch_file(binfile, savedir, NULL);
rv = xbps_fetch_file(binfile, savedir, false, NULL);
free(savedir);
free(binfile);
if (rv != 0) {