diff --git a/lib/libalpm/server.c b/lib/libalpm/server.c index 27038946..519c5084 100644 --- a/lib/libalpm/server.c +++ b/lib/libalpm/server.c @@ -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;