summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-10-09 12:19:41 +0200
committerHolger Levsen <holger@layer-acht.org>2014-10-09 12:19:41 +0200
commit5d3f9afb1858dcfaf1e1b375b3b9e6d22067c50d (patch)
treeabaaa3015b41ea3b5300c746b06550b56a78de50 /bin
parentc21af84d77096d1ac29a219a5792087d964a92d8 (diff)
downloadjenkins.debian.net-5d3f9afb1858dcfaf1e1b375b3b9e6d22067c50d.tar.xz
reproducible: show icon for blacklisted packages too
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_stats.sh32
1 files changed, 17 insertions, 15 deletions
diff --git a/bin/reproducible_stats.sh b/bin/reproducible_stats.sh
index 9b05463e..1e999cf0 100755
--- a/bin/reproducible_stats.sh
+++ b/bin/reproducible_stats.sh
@@ -91,21 +91,23 @@ init_navi_frame() {
echo "<body><table><tr><td><font size=+1>$1</font> $2" >> $NAVI
# icons taken from tango-icon-theme (0.8.90-5)
# licenced under http://creativecommons.org/licenses/publicdomain/
- case $3 in
- reproducible) ICON=weather-clear.png
- ;;
- unreproducible) if [ "$5" != "" ] ; then
- ICON=weather-showers-scattered.png
- else
- ICON=weather-showers.png
- fi
- ;;
- FTBFS) ICON=weather-storm.png
- ;;
- 404) ICON=weather-severe-alert.png
- ;;
- "not for us") ICON=weather-few-clouds-night.png
- ;;
+ case "$3" in
+ "reproducible") ICON=weather-clear.png
+ ;;
+ "unreproducible") if [ "$5" != "" ] ; then
+ ICON=weather-showers-scattered.png
+ else
+ ICON=weather-showers.png
+ fi
+ ;;
+ "FTBFS") ICON=weather-storm.png
+ ;;
+ "404") ICON=weather-severe-alert.png
+ ;;
+ "not for us") ICON=weather-few-clouds-night.png
+ ;;
+ "blacklisted") ICON=error.png
+ ;;
esac
echo "<img src=\"../static/$ICON\" /> $3" >> $NAVI
echo "<font size=-1>at $4:</font> " >> $NAVI