mirror of
https://github.com/moparisthebest/pacman
synced 2025-01-08 12:28:00 -05:00
config parsing: add note if libcurl disabled and no XferCommand
Just a helpful warning for those users in this unenviable position. Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
e4690232d6
commit
361ed6a600
@ -591,6 +591,8 @@ static int setup_libalpm(void)
|
||||
|
||||
if(config->xfercommand) {
|
||||
alpm_option_set_fetchcb(handle, download_with_xfercommand);
|
||||
} else if(!(alpm_capabilities() & ALPM_CAPABILITY_DOWNLOADER)) {
|
||||
pm_printf(ALPM_LOG_WARNING, _("no '%s' configured"), "XferCommand");
|
||||
}
|
||||
|
||||
if(config->totaldownload) {
|
||||
|
Loading…
Reference in New Issue
Block a user