wok-4.x diff locale-zh_CN/receipt @ rev 6141
vlc: scsi/scsi.h fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 08 13:23:00 2010 +0200 (2010-09-08) |
parents | 28253bd3176d |
children | 23b733bbc00a |
line diff
1.1 --- a/locale-zh_CN/receipt Tue Jun 02 13:24:53 2009 +0800 1.2 +++ b/locale-zh_CN/receipt Wed Sep 08 13:23:00 2010 +0200 1.3 @@ -33,15 +33,9 @@ 1.4 mkdir -p $fs/usr/share/locale/$LOCALE $fs/usr/lib/locale 1.5 PKG_NAME="$PACKAGE" 1.6 PKG_VERS="$VERSION" 1.7 - # Get the core packages messages. 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/_pkg/usr/share/locale/$LOCALE ]; then 1.12 - cp -a $WOK/$pkg/$PACKAGE-$VERSION/_pkg/usr/share/locale/$LOCALE \ 1.13 - $fs/usr/share/locale 1.14 - fi 1.15 - done 1.16 + mk_locale_dir 1.17 + get_slitaz_messages 1.18 + get_core_messages 1.19 PACKAGE="$PKG_NAME" 1.20 VERSION="$PKG_VERS" 1.21 localedef -i $LOCALEDEF -c -f $CHARMAP $fs/usr/lib/locale/$LOCALEDEF.UTF-8