index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | src/pacman/pacman.c | 5 |
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c index 0ce9c1e8..7aa1bf69 100644 --- a/src/pacman/pacman.c +++ b/src/pacman/pacman.c @@ -850,6 +850,11 @@ int main(int argc, char *argv[]) cleanup(ret); } + /* set TotalDownload callback if option enabled */ + if(config->totaldownload) { + alpm_option_set_totaldlcb(cb_dl_total); + } + #if defined(HAVE_GETEUID) && !defined(CYGWIN) /* check if we have sufficient permission for the requested operation */ if(myuid > 0 && needs_transaction()) { |