cookutils diff cook @ rev 867

cook, modules/compressor: implement tazpkg --cookmode; cooker.cgi: info2html(): pagination, syntax_highlighter(): distinguish local/cached installed packages (vital for the system update).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jan 12 04:04:52 2017 +0200 (2017-01-12)
parents c6bbdbfdc285
children 230109645bba
line diff
     1.1 --- a/cook	Wed Jan 11 11:53:04 2017 +0200
     1.2 +++ b/cook	Thu Jan 12 04:04:52 2017 +0200
     1.3 @@ -677,15 +677,15 @@
     1.4  	# Install local packages: package-version$arch
     1.5  	cd $PKGS
     1.6  	for i in $(uniq $CACHE/installed.local); do
     1.7 -		_ 'Installing dep (pkg/local): %s' "$i"
     1.8 -		tazpkg install $i --root=$root --local --quiet
     1.9 +		# _ 'Installing dep (pkg/local): %s' "$i"
    1.10 +		tazpkg install $i --root=$root --local --quiet --cookmode
    1.11  	done
    1.12  
    1.13  	# Install web or cached packages (if mirror is set to $PKGS we only
    1.14  	# use local packages).
    1.15  	for i in $(uniq $CACHE/installed.web); do
    1.16 -		_ 'Installing dep (web/cache): %s' "$i"
    1.17 -		tazpkg get-install $i --root=$root --quiet
    1.18 +		# _ 'Installing dep (web/cache): %s' "$i"
    1.19 +		tazpkg get-install $i --root=$root --quiet --cookmode
    1.20  	done
    1.21  
    1.22  	update_installed_cook_diff