cookutils diff web/cooker.cgi @ rev 972

lighttpd/index.cgi, lighttpd/cooker.css: another way to display log.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Sep 29 02:53:23 2017 +0300 (2017-09-29)
parents fe29568da760
children b5e6796ff599
line diff
     1.1 --- a/web/cooker.cgi	Thu May 11 00:14:04 2017 +0300
     1.2 +++ b/web/cooker.cgi	Fri Sep 29 02:53:23 2017 +0300
     1.3 @@ -226,9 +226,9 @@
     1.4  
     1.5  list_packages() {
     1.6  	cd $PKGS
     1.7 -	ls -1t *.tazpkg | head -n 20 | \
     1.8 +	ls -1t *.tazpkg | head -n20 | \
     1.9  	while read file; do
    1.10 -		echo -n $(TZ=UTC stat -c '%y' $PKGS/$file | cut -d . -f 1 | sed s/:[0-9]*$//)
    1.11 +		echo -n $(TZ=UTC stat -c '%y' $PKGS/$file | cut -d. -f1 | sed s/:[0-9]*$//)
    1.12  		echo " : $file"
    1.13  	done
    1.14  }