wok-current rev 19500

slitaz-i18n: skip locale packages yet not created (locale-fa and locale-vi).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Nov 17 02:41:29 2016 +0200 (2016-11-17)
parents c557460bc7a0
children 50333240ef8e
files slitaz-i18n/receipt
line diff
     1.1 --- a/slitaz-i18n/receipt	Thu Nov 17 02:10:45 2016 +0200
     1.2 +++ b/slitaz-i18n/receipt	Thu Nov 17 02:41:29 2016 +0200
     1.3 @@ -27,19 +27,19 @@
     1.4  genpkg_rules()
     1.5  {
     1.6  	# Allow to build the packages who want me...
     1.7 -	sed -i "/^$PACKAGE\$/d" $CACHE/broken 2> /dev/null || true
     1.8 +	sed -i "/^$PACKAGE\$/d" $CACHE/broken 2>/dev/null || true
     1.9  
    1.10  	mkdir -p $fs/usr/share/doc/slitaz
    1.11  	. $stuff/locale-pack.conf
    1.12  	for p in $CORE_PKGS; do
    1.13 -		if [ ! -d "$WOK/$p/install" ]; then
    1.14 -			cook $p
    1.15 -		fi
    1.16 +		[ ! -d "$WOK/$p/install" ] && cook $p
    1.17  	done
    1.18 -	# Cook all locale pack.
    1.19 +
    1.20 +	# Cook all locale-* packages
    1.21  	for i in $LOCALE_PACK; do
    1.22 -		cook locale-$i
    1.23 +		[ -d "$WOK/locale-$i" ] && cook locale-$i
    1.24  	done
    1.25 +
    1.26  	# Recook tzdata package: we move files from tzdata to locale-* packages
    1.27  	cook tzdata
    1.28