index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | src/pacman/conf.c | 2 |
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) { |