# HG changeset patch # User Christopher Rogers # Date 1304901740 0 # Node ID a3ab9cbedbc7e508fabc9af48c8054def39d937e # Parent 068411ccd1e574ff5a57407016ada83f53ccd48c Fixed slitaz-i18n to use cook if it exists to make locale packages. If cook doesn't exist it will use tazwok. diff -r 068411ccd1e5 -r a3ab9cbedbc7 slitaz-i18n/receipt --- a/slitaz-i18n/receipt Mon May 09 00:31:44 2011 +0000 +++ b/slitaz-i18n/receipt Mon May 09 00:42:20 2011 +0000 @@ -14,10 +14,14 @@ genpkg_rules() { mkdir -p $fs/usr/share/doc/slitaz - . stuff/locale-pack.conf + . $stuff/locale-pack.conf for i in $LOCALE_PACK do - tazwok cook locale-$i + if [ -x /usr/bin/cook ]; then + cook locale-$i + elif [ -x /usr/bin/tazwok ]; then + tazwok cook locale-$i + fi done cat > $fs/usr/share/doc/slitaz/i18n.txt << _EOT_ SliTaz i18n information