reports.c: remove repodata based repositories from legacy static html based repositories list
This commit is contained in:
parent
b904a8fd9d
commit
73deedbd5e
@ -720,6 +720,8 @@ generateHTMLMainIndex(struct configTag *configtag)
|
|||||||
|
|
||||||
fprintf(fout,"<b>Available repositories:</b><br><br>\n");
|
fprintf(fout,"<b>Available repositories:</b><br><br>\n");
|
||||||
while (configtag) {
|
while (configtag) {
|
||||||
|
// Skip repositories based on repodata which are managed with distroquery API
|
||||||
|
if (configtag->repodata_url == NULL) continue;
|
||||||
fprintf(fout,
|
fprintf(fout,
|
||||||
"<a href=\"%stag=%s\">%s</a>: %s<br>",
|
"<a href=\"%stag=%s\">%s</a>: %s<br>",
|
||||||
configtag->configdefaults->url_prefix,
|
configtag->configdefaults->url_prefix,
|
||||||
|
Loading…
Reference in New Issue
Block a user