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:
parent
a867e6786e
commit
3ad747cd55
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue