wok-6.x rev 8934
Fixed slitaz-i18n locale-pack.functions script.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Mar 01 07:31:02 2011 +0000 (2011-03-01) |
parents | 12eb74ac753b |
children | acd94c1e1529 |
files | slitaz-i18n/stuff/locale-pack.functions |
line diff
1.1 --- a/slitaz-i18n/stuff/locale-pack.functions Tue Mar 01 07:01:29 2011 +0000 1.2 +++ b/slitaz-i18n/stuff/locale-pack.functions Tue Mar 01 07:31:02 2011 +0000 1.3 @@ -33,11 +33,12 @@ 1.4 # Get the core packages messages. 1.5 get_core_messages() 1.6 { 1.7 + 1.8 for pkg in $CORE_PKGS 1.9 do 1.10 [ -f $WOK/$pkg/receipt ] && . $WOK/$pkg/receipt 1.11 - if [ -d $WOK/$pkg/$PACKAGE-$VERSION/install/usr/share/locale/$LOCALE ]; then 1.12 - cp -a $WOK/$pkg/$PACKAGE-$VERSION/install/usr/share/locale/$LOCALE \ 1.13 + if [ -d $WOK/$pkg/install/usr/share/locale/$LOCALE ]; then 1.14 + cp -a $WOK/$pkg/install/usr/share/locale/$LOCALE \ 1.15 $fs/usr/share/locale 1.16 fi 1.17 done