1
0
mirror of https://github.com/moparisthebest/pacman synced 2025-01-10 21:38:19 -05:00

* Missed a path when requiring that all paths end with / - this caused -U not to

work (it was downloading files as .package-name) at all.
This commit is contained in:
Aaron Griffin 2007-03-12 23:26:47 +00:00
parent 9e3a185345
commit 74e8b28fc3

View File

@ -407,7 +407,7 @@ char *_alpm_fetch_pkgurl(char *target)
alpm_list_t *servers = alpm_list_add(NULL, server);
alpm_list_t *files = alpm_list_add(NULL, filename);
if(_alpm_downloadfiles(servers, ".", files)) {
if(_alpm_downloadfiles(servers, "./", files)) {
_alpm_log(PM_LOG_WARNING, _("failed to download %s"), target);
return(NULL);
}