index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2011-09-21 13:31:18 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-09-22 10:33:48 -0500 |
commit | 361ed6a6001c41f08ee85a94d28ba5a7c79a6154 (patch) | |
tree | 5ea8baf9805307e46b480cd18021fdbdae3e8885 /src | |
parent | e4690232d61b8b7655df40feb417cf54c489d73c (diff) |
-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) { |