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

slitaz-i18n/stuff/locale-pack.conf: remove isomaster from CORE_PKGS
author Richard Dunbar <mojo@slitaz.org>
date Fri Feb 20 18:10:56 2015 -0500 (2015-02-20)
parents c667db027c32
children ec332cdcdbc1
line diff
     1.1 --- a/slitaz-i18n/stuff/locale-pack.functions	Tue May 06 23:19:04 2014 +0300
     1.2 +++ b/slitaz-i18n/stuff/locale-pack.functions	Fri Feb 20 18:10:56 2015 -0500
     1.3 @@ -2,15 +2,23 @@
     1.4  {
     1.5  	[ "x$CHARMAP" == x ] && CHARMAP=UTF-8
     1.6  
     1.7 -	# Get translated Openbox menu from SliTaz sub project slitaz-configs
     1.8 -	obmenu=$WOK/slitaz-configs/install/etc/xdg/openbox/menu.$LOCALE.xml
     1.9 -	if [ -f $obmenu ]; then
    1.10 -		mkdir -p $fs/etc/xdg/openbox
    1.11 -		echo "* Found $LOCALE translations for: openbox menu"
    1.12 -		cp $obmenu $fs/etc/xdg/openbox
    1.13 -	fi
    1.14 +	case "$SLITAZ_ARCH" in
    1.15 +		arm*) ;;
    1.16 +		i?86)
    1.17 +			# Get translated Openbox menu from SliTaz sub project slitaz-configs
    1.18 +			obmenu=$WOK/slitaz-configs/install/etc/xdg/openbox/menu.$LOCALE.xml
    1.19 +			if [ -f $obmenu ]; then
    1.20 +				mkdir -p $fs/etc/xdg/openbox
    1.21 +				echo "* Found $LOCALE translations for: openbox menu"
    1.22 +				cp $obmenu $fs/etc/xdg/openbox
    1.23 +			fi
    1.24 +			;;
    1.25 +	esac
    1.26  
    1.27  	# Get the core packages messages.
    1.28 +	case "$SLITAZ_ARCH" in
    1.29 +		arm*) CORE_PKGS="$CORE_PKGS_ARM" ;;
    1.30 +	esac
    1.31  	mkdir -p $fs/usr/share/locale/$LOCALE
    1.32  	for app in $CORE_PKGS; do
    1.33  		app_locale=$WOK/$app/install/usr/share/locale/$LOCALE
    1.34 @@ -68,6 +76,10 @@
    1.35  		done
    1.36  	done
    1.37  
    1.38 +	case "$SLITAZ_ARCH" in
    1.39 +		arm*) exit 0 ;;
    1.40 +	esac
    1.41 +
    1.42  	# Get country flags
    1.43  	echo "* Copy flag icons for countries: "$countries
    1.44  	usih=usr/share/icons/hicolor