diff options
author | Holger Levsen <holger@layer-acht.org> | 2016-10-03 14:33:08 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-10-03 14:33:08 +0200 |
commit | 6589398498dd9b11d73e09abd731cd74389e2e2b (patch) | |
tree | 7951ee9de7c5ba747b84b0a94bc0910468d4e0e8 | |
parent | 03b40b7e5952dbbddb3f5565d54c2ed656b4a4c7 (diff) | |
download | jenkins.debian.net-6589398498dd9b11d73e09abd731cd74389e2e2b.tar.xz |
reproducible Debian: only show obsolete packages table if there are some
-rwxr-xr-x | bin/reproducible_html_repository_comparison.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/bin/reproducible_html_repository_comparison.sh b/bin/reproducible_html_repository_comparison.sh index 34441ab3..c1de43b3 100755 --- a/bin/reproducible_html_repository_comparison.sh +++ b/bin/reproducible_html_repository_comparison.sh @@ -234,9 +234,11 @@ for PKG in $SOURCEPKGS ; do done cat $TABLE_TODO >> $PAGE write_page "</table></p>" -write_page "<p><table><tr><th class=\"center\">obsoleted package,<br />version in sid higher than in our repo</th><th class=\"center\">git repo</th><th class=\"center\">PTS link</th><th class=\"center\">usertagged bug</th><th class=\"center\">old version(s) in our repo<br />(needed for reproducing old builds)</th><th class=\"center\">version in our repo<br />(available binary packages per architecture)</th><th class=\"center\">version in 'testing'</th><th class=\"center\">version in 'unstable'</th><th class=\"center\">version in 'experimental'</th></tr>" -cat $TABLE_DONE >> $PAGE -write_page "</table></p>" +if [ -s $TABLE_DONE ] ; then + write_page "<p><table><tr><th class=\"center\">obsoleted package,<br />version in sid higher than in our repo</th><th class=\"center\">git repo</th><th class=\"center\">PTS link</th><th class=\"center\">usertagged bug</th><th class=\"center\">old version(s) in our repo<br />(needed for reproducing old builds)</th><th class=\"center\">version in our repo<br />(available binary packages per architecture)</th><th class=\"center\">version in 'testing'</th><th class=\"center\">version in 'unstable'</th><th class=\"center\">version in 'experimental'</th></tr>" + cat $TABLE_DONE >> $PAGE + write_page "</table></p>" +fi write_page_footer publish_page debian echo "$MODIFIED_IN_SID" > /srv/reproducible-results/modified_in_sid.txt |