index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | src/pacman/download.c | 4 |
diff --git a/src/pacman/download.c b/src/pacman/download.c index ad19f4d4..ce595495 100644 --- a/src/pacman/download.c +++ b/src/pacman/download.c @@ -64,6 +64,10 @@ static int log_progress(netbuf *ctl, int xfered, void *arg) static unsigned short mouth; static unsigned int lastcur = 0; + if(config->noprogressbar) { + return(1); + } + gettimeofday(&t1, NULL); if(xfered+offset == fsz) { t = t0; |