diff options
Diffstat (limited to 'lib/rpmte.c')
-rw-r--r-- | lib/rpmte.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/rpmte.c b/lib/rpmte.c index 248956cf0..d571d7fd4 100644 --- a/lib/rpmte.c +++ b/lib/rpmte.c @@ -737,7 +737,7 @@ rpmfs rpmteGetFileStates(rpmte te) return te->fs; } -int rpmteProcess(rpmte te, pkgGoal goal) +int rpmteProcess(rpmte te, pkgGoal goal, int num) { /* Only install/erase resets pkg file info */ int scriptstage = (goal != PKG_INSTALL && goal != PKG_ERASE); @@ -753,6 +753,11 @@ int rpmteProcess(rpmte te, pkgGoal goal) } if (rpmteOpen(te, reset_fi)) { + if (!scriptstage) { + rpmtsNotify(te->ts, te, RPMCALLBACK_ELEM_PROGRESS, num, + rpmtsMembers(te->ts)->orderCount); + } + failed = rpmpsmRun(te->ts, te, goal); rpmteClose(te, reset_fi); } |