index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Xavier Chantry <chantry.xavier@gmail.com> | 2010-10-17 19:27:38 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-10-18 16:46:41 -0500 |
commit | a2d7f6f2061fdf0ff225eaceda5c78ee520495ff (patch) | |
tree | 448d55becd32e78c863518df18cb7290e881c7c8 /lib/libalpm | |
parent | 3a06a9fa9fafe705bfb79c23dd75ca226b22026c (diff) |
-rw-r--r-- | lib/libalpm/remove.c | 4 |
diff --git a/lib/libalpm/remove.c b/lib/libalpm/remove.c index dfaba03a..153c0426 100644 --- a/lib/libalpm/remove.c +++ b/lib/libalpm/remove.c @@ -414,6 +414,10 @@ int _alpm_remove_packages(pmtrans_t *trans, pmdb_t *db) alpm_list_t *newfiles; _alpm_log(PM_LOG_DEBUG, "removing %d files\n", filenum); + /* init progress bar */ + PROGRESS(trans, PM_TRANS_PROGRESS_REMOVE_START, info->name, 0, + pkg_count, (pkg_count - targcount + 1)); + /* iterate through the list backwards, unlinking files */ newfiles = alpm_list_reverse(files); for(lp = newfiles; lp; lp = alpm_list_next(lp)) { |