wok diff slitaz-i18n/stuff/locale-pack.functions @ rev 10302

Add: cross-arm-binutils and cross-arm-gcc for testing purpose (see doc:cookbook:cross)
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 22 01:31:33 2011 +0200 (2011-05-22)
parents 93f4822fd8b1
children 6a16e4339314
line diff
     1.1 --- a/slitaz-i18n/stuff/locale-pack.functions	Sat Feb 26 08:00:27 2011 +0000
     1.2 +++ b/slitaz-i18n/stuff/locale-pack.functions	Sun May 22 01:31:33 2011 +0200
     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