From 6589398498dd9b11d73e09abd731cd74389e2e2b Mon Sep 17 00:00:00 2001
From: Holger Levsen
Date: Mon, 3 Oct 2016 14:33:08 +0200
Subject: reproducible Debian: only show obsolete packages table if there are
some
---
bin/reproducible_html_repository_comparison.sh | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
(limited to 'bin')
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 "
"
-write_page "obsoleted package, version in sid higher than in our repo | git repo | PTS link | usertagged bug | old version(s) in our repo (needed for reproducing old builds) | version in our repo (available binary packages per architecture) | version in 'testing' | version in 'unstable' | version in 'experimental' |
"
-cat $TABLE_DONE >> $PAGE
-write_page "
"
+if [ -s $TABLE_DONE ] ; then
+ write_page "obsoleted package, version in sid higher than in our repo | git repo | PTS link | usertagged bug | old version(s) in our repo (needed for reproducing old builds) | version in our repo (available binary packages per architecture) | version in 'testing' | version in 'unstable' | version in 'experimental' |
"
+ cat $TABLE_DONE >> $PAGE
+ write_page "
"
+fi
write_page_footer
publish_page debian
echo "$MODIFIED_IN_SID" > /srv/reproducible-results/modified_in_sid.txt
--
cgit v1.2.3-70-g09d2