diff options
-rw-r--r-- | src/pacman/conf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pacman/conf.c b/src/pacman/conf.c index 3558dca3..337522b8 100644 --- a/src/pacman/conf.c +++ b/src/pacman/conf.c @@ -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) { |