index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | lib/libalpm/add.c | 12 |
diff --git a/lib/libalpm/add.c b/lib/libalpm/add.c index 2a8f3862..a0e5f1db 100644 --- a/lib/libalpm/add.c +++ b/lib/libalpm/add.c @@ -565,10 +565,10 @@ static int commit_single_pkg(alpm_handle_t *handle, alpm_pkg_t *newpkg, /* call PROGRESS once with 0 percent, as we sort-of skip that here */ if(is_upgrade) { - PROGRESS(trans, PM_TRANS_PROGRESS_UPGRADE_START, + PROGRESS(trans, ALPM_TRANS_PROGRESS_UPGRADE_START, alpm_pkg_get_name(newpkg), 0, pkg_count, pkg_current); } else { - PROGRESS(trans, PM_TRANS_PROGRESS_ADD_START, + PROGRESS(trans, ALPM_TRANS_PROGRESS_ADD_START, alpm_pkg_get_name(newpkg), 0, pkg_count, pkg_current); } @@ -592,11 +592,11 @@ static int commit_single_pkg(alpm_handle_t *handle, alpm_pkg_t *newpkg, } if(is_upgrade) { - PROGRESS(trans, PM_TRANS_PROGRESS_UPGRADE_START, + PROGRESS(trans, ALPM_TRANS_PROGRESS_UPGRADE_START, alpm_pkg_get_name(newpkg), percent, pkg_count, pkg_current); } else { - PROGRESS(trans, PM_TRANS_PROGRESS_ADD_START, + PROGRESS(trans, ALPM_TRANS_PROGRESS_ADD_START, alpm_pkg_get_name(newpkg), percent, pkg_count, pkg_current); } @@ -649,10 +649,10 @@ static int commit_single_pkg(alpm_handle_t *handle, alpm_pkg_t *newpkg, } if(is_upgrade) { - PROGRESS(trans, PM_TRANS_PROGRESS_UPGRADE_START, + PROGRESS(trans, ALPM_TRANS_PROGRESS_UPGRADE_START, alpm_pkg_get_name(newpkg), 100, pkg_count, pkg_current); } else { - PROGRESS(trans, PM_TRANS_PROGRESS_ADD_START, + PROGRESS(trans, ALPM_TRANS_PROGRESS_ADD_START, alpm_pkg_get_name(newpkg), 100, pkg_count, pkg_current); } |