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

@ -32,7 +32,7 @@ main(int argc, char **argv)
if (argc != 1)
usage();
rv = xbps_fetch_file(argv[0], ".", flags);
rv = xbps_fetch_file(argv[0], ".", false, flags);
if (rv != 0) {
printf("%s: %s\n", argv[0], xbps_fetch_error_string());
exit(EXIT_FAILURE);