wok-4.x rev 11389
Compat: make local-pack.functions in slitaz-i18n compatible with tazwok
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Dec 10 05:03:51 2011 +0100 (2011-12-10) |
parents | 5f09804913b2 |
children | b502c06450bc |
files | slitaz-i18n/stuff/locale-pack.functions |
line diff
1.1 --- a/slitaz-i18n/stuff/locale-pack.functions Sat Dec 10 04:50:27 2011 +0100 1.2 +++ b/slitaz-i18n/stuff/locale-pack.functions Sat Dec 10 05:03:51 2011 +0100 1.3 @@ -15,7 +15,13 @@ 1.4 configs=$WOK/slitaz-configs/source 1.5 openbox=$configs/slitaz-configs-*/rootfs/etc/xdg/openbox 1.6 tools=$WOK/slitaz-tools/source 1.7 - 1.8 + 1.9 + # Make tazwok compatible with this. 1.10 + if [ ! -x /usr/bin/cook ]; them 1.11 + [ -d $configs ] || tazwok get-src slitaz-configs --target=$configs 1.12 + [ -d $tools ] || tazwok get-src slitaz-tools --target=$tools 1.13 + fi 1.14 + 1.15 [ ! -d $configs ] && echo "ERROR: missing source slitaz-configs" && exit 1 1.16 [ ! -d $tools ] && echo "ERROR: missing source slitaz-tools" && exit 1 1.17