From 8902cce8cded7baa85dace76560af4adeb74fdd9 Mon Sep 17 00:00:00 2001
From: Holger Levsen
"
-# FIXME: we don't do 2 / stats_builds_age.png yet :/ (and 6 is special anyway)
-for i in 0 3 4 5 1 ; do
- if [ $i -ne 0 ] && [ "$SUITE" != "sid" ] ; then
- # do most stats only for sid
- continue
- fi
- if [ "$i" = "3" ] ; then
- write_usertag_table
- fi
- write_page " "
- # redo pngs once a day
- if [ ! -f /var/lib/jenkins/userContent/${TABLE[$i]}.png ] || [ -z $(find /var/lib/jenkins/userContent -maxdepth 1 -mtime +0 -name ${TABLE[$i]}.png) ] ; then
- redo_png $i ${TABLE[$i]}.png
+write_page "
"
+# redo png once a day
+if [ ! -f /var/lib/jenkins/userContent/$SUITE/${TABLE[0]}.png ] || [ -z $(find /var/lib/jenkins/userContent/$SUITE -maxdepth 1 -mtime +0 -name ${TABLE[0]}.png) ] ; then
+ redo_png $i ${TABLE[0]}.png
fi
-done
write_page "
" +write_page "
"
+# FIXME: we don't do 2 / stats_builds_age.png yet :/ (and 6 and 0 are done already)
+for i in 3 4 5 1 ; do
+ if [ "$i" = "3" ] ; then
+ write_usertag_table
+ fi
+ write_page " "
+ # redo pngs once a day
+ if [ ! -f /var/lib/jenkins/userContent/${TABLE[$i]}.png ] || [ -z $(find /var/lib/jenkins/userContent -maxdepth 1 -mtime +0 -name ${TABLE[$i]}.png) ] ; then
+ redo_png $i ${TABLE[$i]}.png
+ fi
+done
+write_page "