src/reports.c: don't remove obsoleted packages from builds files
This commit is contained in:
parent
a4b7cd5412
commit
2d09528f4f
@ -1,7 +1,7 @@
|
||||
/*
|
||||
* distromatic - tool for RPM based repositories
|
||||
*
|
||||
* Copyright (C) 2004-2020 by Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
* Copyright (C) 2004-2021 by Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
* Copyright (C) 2006 by Davide Madrisan <davide.madrisan@gmail.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under
|
||||
@ -1997,10 +1997,8 @@ int print_datatables(struct configTag *ct, int arch) {
|
||||
obsoletebuf[0] = '\0';
|
||||
|
||||
while (currchild) {
|
||||
if (currchild->obsoleted == 0) {
|
||||
fprintf(fbsh,"%s",currchild->name);
|
||||
fprintf(fb," %s",currchild->name);
|
||||
}
|
||||
fprintf(fbsh,"%s",currchild->name);
|
||||
fprintf(fb," %s",currchild->name);
|
||||
for (i = 0; i < currchild->obsoletecount; i++ ) {
|
||||
if ((i > 0) && (!strcmp(currchild->obsoletename[i],currchild->obsoletename[i-1]))) continue;
|
||||
if (strlen(obsoletebuf) + strlen(currchild->obsoletename[i]) >= OBSOLETEBUF_SIZE - 2) {
|
||||
|
Loading…
Reference in New Issue
Block a user