cookutils diff web/cooker.cgi @ rev 1024

cook, lighttpd/index.cgi, modules/compressor, modules/mk_pkg_receipt, modules/pkgdb: patch for the x86_64 native architecture support, fix empty depends, etc.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jan 24 12:14:38 2018 +0200 (2018-01-24)
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	Wed Jan 24 12:14:38 2018 +0200
     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  }