printpkgicon: also print Archs list of target built packages

This commit is contained in:
Silvan Calarco 2012-05-17 12:52:18 +02:00
parent 4d081e2ee6
commit b80887e10c

View File

@ -151,6 +151,7 @@ void printpkgicon(FILE *fout, struct configTag *configtag, struct headerSourceLi
char buffer[PATH_MAX];
char strdate[16];
int i;
if (s->updrepository >= 0) {
fprintf(fout,
@ -184,6 +185,11 @@ void printpkgicon(FILE *fout, struct configTag *configtag, struct headerSourceLi
"title=\"WARNING: missing changelog");
}
fprintf(fout,"\n\nArchs:");
for (i = 0; i < ARCHS_MAX && configtag->arch[i]; i++) {
if (s->firstchild[i]) fprintf(fout," %s", configtag->arch[i]);
}
if (s->updrepository >= 0) {
fprintf(fout,
"\n\nUpdates package in %s\">",