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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user