wok-4.x rev 3108
slitaz-i18n: Tiny fix
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 17 23:57:40 2009 +0200 (2009-05-17) |
parents | 4848fe4259a4 |
children | 881c396942a6 |
files | slitaz-i18n/stuff/locale-pack.functions |
line diff
1.1 --- a/slitaz-i18n/stuff/locale-pack.functions Sun May 17 23:56:47 2009 +0200 1.2 +++ b/slitaz-i18n/stuff/locale-pack.functions Sun May 17 23:57:40 2009 +0200 1.3 @@ -14,17 +14,17 @@ 1.4 # Get translated files from SliTaz sub projects: configs, doc, tools. 1.5 get_slitaz_messages() 1.6 { 1.7 - . $WOK/slitaz-configs/receipt 1.8 + [ -d $WOK/slitaz-configs ] && . $WOK/slitaz-configs/receipt 1.9 [ -f $WOK/slitaz-configs/slitaz-configs-$VERSION/rootfs/etc/xdg/openbox/menu.${LOCALE}.xml ] && \ 1.10 cp $WOK/slitaz-configs/slitaz-configs-$VERSION/rootfs/etc/xdg/openbox/menu.${LOCALE}.xml \ 1.11 $fs/etc/xdg/openbox 1.12 1.13 - . $WOK/slitaz-doc/receipt 1.14 + [ -d $WOK/slitaz-doc ] && . $WOK/slitaz-doc/receipt 1.15 [ -f $WOK/slitaz-doc/slitaz-doc-$VERSION/slitaz/index.${LOCALE}.html ] && \ 1.16 cp $WOK/slitaz-doc/slitaz-doc-$VERSION/slitaz/index.${LOCALE}.html \ 1.17 $fs/usr/share/doc/slitaz 1.18 1.19 - . $WOK/slitaz-tools/receipt 1.20 + [ -d $WOK/slitaz-tools ] && . $WOK/slitaz-tools/receipt 1.21 [ -d $WOK/slitaz-tools/slitaz-tools-$VERSION/messages/$LOCALE ] && \ 1.22 cp -a $WOK/slitaz-tools/slitaz-tools-$VERSION/messages/$LOCALE \ 1.23 $fs/usr/share/slitaz/messages