wok diff locale-zh_CN/receipt @ rev 9269

Fixed fox14. It doesn't need nvidia as a depend.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Mar 15 17:35:05 2011 +0000 (2011-03-15)
parents 23b733bbc00a
children e63d22f12936
line diff
     1.1 --- a/locale-zh_CN/receipt	Thu Nov 25 22:17:40 2010 +0000
     1.2 +++ b/locale-zh_CN/receipt	Tue Mar 15 17:35:05 2011 +0000
     1.3 @@ -1,12 +1,14 @@
     1.4  # SliTaz package receipt
     1.5  
     1.6 +PACKED_SIZE="508K"
     1.7 +UNPACKED_SIZE="2.4M"
     1.8  PACKAGE="locale-zh_CN"
     1.9  VERSION="2.0"
    1.10  CATEGORY="system-tools"
    1.11  SHORT_DESC="Chinese Simplified locale pack."
    1.12  MAINTAINER="lufeng369@slitaz.org"
    1.13  DEPENDS="glibc-base wqy-microhei"
    1.14 -BUILD_DEPENDS="glibc glibc-locale xorg-libX11"
    1.15 +BUILD_DEPENDS="glibc-locale xorg-libX11"
    1.16  WEB_SITE="http://www.slitaz.org/"
    1.17  
    1.18  
    1.19 @@ -35,16 +37,22 @@
    1.20  	for i in $GCONV_MODULES; do
    1.21  		cp /usr/lib/gconv/$i $fs/usr/lib/gconv
    1.22  	done
    1.23 +	
    1.24 +	install  -D /usr/share/zoneinfo/Asia/Shanghai $fs/usr/share/zoneinfo/Asia/Shanghai -m 644
    1.25 +	install  -D /usr/share/zoneinfo/posix/Asia/Shanghai $fs/usr/share/posix/zoneinfo/Asia/Shanghai -m 644
    1.26 +	install  -D /usr/share/zoneinfo/right/Asia/Shanghai $fs/usr/share/right/zoneinfo/Asia/Shanghai -m 644
    1.27  }
    1.28  post_install()
    1.29  {
    1.30  	echo LANG=zh_CN.UTF-8 > /etc/locale.conf
    1.31 +	echo Asia/Shanghai > /etc/TZ
    1.32 +	export TZ=Asia/Shanghai
    1.33 +	hwclock --hctosys
    1.34  }
    1.35  # Back to C if it's the last used locale.
    1.36  post_remove()
    1.37  {
    1.38  	if grep -q $LOCALEDEF /etc/locale.conf; then
    1.39  		echo "LANG=C" > /etc/locale.conf
    1.40 -		echo "LC_ALL=C" >> /etc/locale.conf
    1.41  	fi
    1.42  }