mirror of
https://github.com/moparisthebest/pacman
synced 2024-11-15 13:55:09 -05:00
* dont use XferCommand if retrieving local files, fixes wget error:
file:////....: Unsupported scheme.
This commit is contained in:
parent
79ecbd82bd
commit
75d6149711
@ -211,7 +211,7 @@ int _alpm_downloadfiles_forreal(alpm_list_t *servers, const char *localpath,
|
||||
continue;
|
||||
}
|
||||
|
||||
if(!handle->xfercommand) {
|
||||
if(!handle->xfercommand || !strcmp(fileurl->scheme, "file")) {
|
||||
FILE *dlf, *localf = NULL;
|
||||
struct url_stat ust;
|
||||
struct stat st;
|
||||
|
Loading…
Reference in New Issue
Block a user