Fix ordering with --nodeps.

This adds unneeded second rpmalMakeIndex() call to normal path, the index
creation needs some kind of tracking mechanism to avoid this...
This commit is contained in:
Panu Matilainen 2007-07-09 11:47:48 +03:00
parent a867e6786e
commit 3ad747cd55
1 changed files with 4 additions and 2 deletions

View File

@ -1234,9 +1234,11 @@ int rpmtsOrder(rpmts ts)
int qlen;
int i, j;
#ifdef DYING
/*
* XXX FIXME: this gets needlesly called twice on normal usage patterns,
* should track the need for generating the index somewhere
*/
rpmalMakeIndex(ts->addedPackages);
#endif
(void) rpmswEnter(rpmtsOp(ts, RPMTS_OP_ORDER), 0);