diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/pacman/callback.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/pacman/callback.c b/src/pacman/callback.c index 8d4538c4..a6349874 100644 --- a/src/pacman/callback.c +++ b/src/pacman/callback.c @@ -444,7 +444,10 @@ void cb_dl_progress(const char *filename, off_t file_xfered, off_t file_total) int file_percent = 0, total_percent = 0; char rate_size = 'K', xfered_size = 'K'; - if(config->noprogressbar) { + if(config->noprogressbar || file_total == -1) { + if(file_xfered == 0) { + printf(_("downloading %s...\n"), filename); + } return; } |