wok diff slitaz-i18n/receipt @ rev 9730

aufs: add TARBALL need to avoid cloning each time. It's tar.bz2 since cook will compress it in this format but if *.tar.lzma exit it will be used by both cook and tazwok
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 09 15:38:20 2011 +0200 (2011-05-09)
parents 86295c37fce3
children 872ecb790c84
line diff
     1.1 --- a/slitaz-i18n/receipt	Thu Jan 27 00:20:50 2011 +0100
     1.2 +++ b/slitaz-i18n/receipt	Mon May 09 15:38:20 2011 +0200
     1.3 @@ -14,10 +14,14 @@
     1.4  genpkg_rules()
     1.5  {
     1.6  	mkdir -p $fs/usr/share/doc/slitaz
     1.7 -	. stuff/locale-pack.conf
     1.8 +	. $stuff/locale-pack.conf
     1.9  	for i in $LOCALE_PACK
    1.10  	do
    1.11 -		tazwok cook locale-$i
    1.12 +		if [ -x /usr/bin/cook ]; then
    1.13 +			cook locale-$i
    1.14 +		elif [ -x /usr/bin/tazwok ]; then
    1.15 +			tazwok cook locale-$i
    1.16 +		fi
    1.17  	done
    1.18  	cat > $fs/usr/share/doc/slitaz/i18n.txt << _EOT_
    1.19  SliTaz i18n information