From 5d3f9afb1858dcfaf1e1b375b3b9e6d22067c50d Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 9 Oct 2014 12:19:41 +0200 Subject: reproducible: show icon for blacklisted packages too --- bin/reproducible_stats.sh | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) (limited to 'bin/reproducible_stats.sh') 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 "
$1 $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 " $3" >> $NAVI echo "at $4: " >> $NAVI -- cgit v1.2.3-70-g09d2