wok 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 | 068411ccd1e5 |
children | 02ea5970d0c3 |
files | slitaz-i18n/receipt |
line diff
1.1 --- a/slitaz-i18n/receipt Mon May 09 00:31:44 2011 +0000 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