diff --git a/src/reports.c b/src/reports.c index 44758b6..c4a5eea 100644 --- a/src/reports.c +++ b/src/reports.c @@ -1,7 +1,7 @@ /* * distromatic - tool for RPM based repositories * - * Copyright (C) 2004-2020 by Silvan Calarco + * Copyright (C) 2004-2021 by Silvan Calarco * Copyright (C) 2006 by Davide Madrisan * * 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) {