* dont use XferCommand if retrieving local files, fixes wget error:
file:////....: Unsupported scheme.
This commit is contained in:
parent
79ecbd82bd
commit
75d6149711
1 changed files with 1 additions and 1 deletions
|
@ -211,7 +211,7 @@ int _alpm_downloadfiles_forreal(alpm_list_t *servers, const char *localpath,
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!handle->xfercommand) {
|
if(!handle->xfercommand || !strcmp(fileurl->scheme, "file")) {
|
||||||
FILE *dlf, *localf = NULL;
|
FILE *dlf, *localf = NULL;
|
||||||
struct url_stat ust;
|
struct url_stat ust;
|
||||||
struct stat st;
|
struct stat st;
|
||||||
|
|
Loading…
Add table
Reference in a new issue