wok rev 19455

slitaz-i18n: auto recook tzdata at the end
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Oct 21 13:06:24 2016 +0300 (2016-10-21)
parents 53e3cfd9f874
children 75f2bc86c03f
files slitaz-i18n/receipt
line diff
     1.1 --- a/slitaz-i18n/receipt	Fri Oct 21 10:22:15 2016 +0300
     1.2 +++ b/slitaz-i18n/receipt	Fri Oct 21 13:06:24 2016 +0300
     1.3 @@ -29,22 +29,15 @@
     1.4  	mkdir -p $fs/usr/share/doc/slitaz
     1.5  	. $stuff/locale-pack.conf
     1.6  	for p in $CORE_PKGS; do
     1.7 -		if [ ! -d "$WOK/$p/install" ]; then
     1.8 -			if [ -x /usr/bin/cook ]; then
     1.9 -				cook $p
    1.10 -			elif [ -x /usr/bin/tazwok ]; then
    1.11 -				tazwok cook $p
    1.12 -			fi
    1.13 -		fi
    1.14 +		cook $p
    1.15  	done
    1.16  	# Cook all locale pack.
    1.17  	for i in $LOCALE_PACK; do
    1.18 -		if [ -x /usr/bin/cook ]; then
    1.19 -			cook locale-$i
    1.20 -		elif [ -x /usr/bin/tazwok ]; then
    1.21 -			tazwok cook locale-$i
    1.22 -		fi
    1.23 +		cook locale-$i
    1.24  	done
    1.25 +	# Recook tzdata package: we move files from tzdata to locale-* packages
    1.26 +	cook tzdata
    1.27 +
    1.28  	cat > $fs/usr/share/doc/slitaz/i18n.txt <<EOT
    1.29  SliTaz i18n information
    1.30  ================================================================================