wok-4.x diff slitaz-i18n/receipt @ rev 9720
Fixed slitaz-i18n to use cook if it exists to make locale packages. If cook doesn't exist it will use tazwok.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon May 09 00:42:20 2011 +0000 (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 00:42:20 2011 +0000 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