slitaz-pizza rev 19
pizza web display only last 5 builded flavor
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Mar 26 15:00:24 2012 +0200 (2012-03-26) |
parents | ebafde6ecb03 |
children | 1b124daccc19 |
files | web/pizza.cgi |
line diff
1.1 --- a/web/pizza.cgi Mon Mar 26 14:58:17 2012 +0200 1.2 +++ b/web/pizza.cgi Mon Mar 26 15:00:24 2012 +0200 1.3 @@ -353,7 +353,7 @@ 1.4 EOT 1.5 echo "<h2>$(gettext "Latest builds")</h2>" 1.6 echo '<pre>' 1.7 - for flavor in $(ls -1t public | head -n 10) 1.8 + for flavor in $(ls -1t public | head -n 5) 1.9 do 1.10 if [ -f "public/$flavor/receipt" ]; then 1.11 . ./public/$flavor/receipt